I want to add a dropdown list to the existing dialog where the value is forwarded like in Aikau. I don't know where to begin. I've taken a look at this https://www.alfresco.com/abn/adf/docs/content-services/dialogs/library.dialog/ and looked for "adf-library-dialog".
siteService.config.widgetsForCreateSiteDialogOverrides = [
{
id: "SELECT_PROJECT_TEMPLATE",
name: "alfresco/forms/controls/Select",
targetPosition: "START",
config: {
fieldId: "SELECT_PROJECT_TEMPLATE",
label: "TestTitle",
name: "ph:customTemplateProperty",
value: standardTemplate,
optionsConfig: {
fixed: options
}
}
}
];
Hi @phivuu-2,
What do you mean with "the value is forwarded like in Aikau"?
Are you looking to get one of the values from an external source?
Which is your goal?
Cheers.
Hi,
The goal is to retrieve the value in repository(sites.post.json.js). With Aikau it was possible with ph:customTemplateProperty.
siteService.config.widgetsForCreateSiteDialogOverrides = [
{
id: "SELECT_PROJECT_TEMPLATE",
name: "alfresco/forms/controls/Select",
targetPosition: "START",
config: {
fieldId: "SELECT_PROJECT_TEMPLATE",
label: "TestTitle",
name: "ph:customTemplateProperty",
value: standardTemplate,
optionsConfig: {
fixed: options
}
}
}
];
I've gotten some advice on Gitter which I'm looking into now. If I have understood correctly I need to do the following:
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.