I created a javascript to customize some actions and I need, in some cases, to display a treated message on screen. How can I do this ?
Below is sample code for same.
Alfresco.util.PopupManager.displayPrompt(
{
title:"Property Exists!",
text: "You can not property which allready exists"
});
There is also and dialog available for ok cancel type of prompt.
Hi, first thank you for the feedback. I added this code into a .js file for testing and include it as a folder rule to always run when updating a document but it does not work.
Is there a prerequisite for it to work? some addon?
Hi Renato,
The given code does not refer to Alfresco Javascript API (which is server side). You can not do this with Javascript API.
Regards.
--C.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
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.