cancel
Showing results for 
Search instead for 
Did you mean: 

modify value of adf-content-metadata-card

Aymen_mansouri
Champ in-the-making
Champ in-the-making

Hello everyone,

I'm actually new to adf alfresco and i've been stuck with this problem for a while so i'll really need some help.

I want to modify  one of the properties in adf-content-metadata-card , for example in order to modify a property of type "date" adf suggests for me a calendar, for my case if the user would like to modify a property i want adf to suggest for me  a list of properties that are already saved in metadata  (while for now adf only suggests for an input text) image

I tried to modify  app.config.json by adding the following code

"content-metadata": {

"presets": { ... }, ...

},

but it didn't work, so my main question is it possible to add the list of the values in app.config.json or there is another method??

Any help would be appreciated, thank you ...

1 ACCEPTED ANSWER

EddieMay
World-Class Innovator
World-Class Innovator

Hi @Aymen_mansouri,

Looks like ADF doesn’t display dropdown values even if you configured the content model with a list constraint. This is in the development pipeline but no timeline I'm afraid.

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!

View answer in original post

4 REPLIES 4

EddieMay
World-Class Innovator
World-Class Innovator

Hi @Aymen_mansouri,

If you already have those properties in the metadata,  you can reveal them using this config, for example.
"content-metadata": {
"presets": {
"default": "*",
},

  Have you got the default aspect inside your presets object? However,  if it's using a custom model for the aspect you need to add it.

HTH,

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!

Hi EddieMay,

Thank you for your reply, yes i actually tried what you proposed by using default * but it only load metadata selected not a dropdown list from metadata.

EddieMay
World-Class Innovator
World-Class Innovator

Hi @Aymen_mansouri,

Looks like ADF doesn’t display dropdown values even if you configured the content model with a list constraint. This is in the development pipeline but no timeline I'm afraid.

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!

Hello @EddieMay ,

Thanks for your suggestions.
Is same feature now available in ADF?

Thanks,
Vikash

Thanks,
Vikash