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)
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 ...
Solved! Go to Solution.
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.
Hi @Aymen_mansouri,
"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,
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.
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.
Hello @EddieMay ,
Thanks for your suggestions.
Is same feature now available in ADF?
Thanks,
Vikash
Discussions, help and advice about the Alfresco Development Framework.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.