04-25-2019 01:14 PM
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 ?
04-26-2019 07:34 AM
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.
04-26-2019 09:02 AM
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?
04-26-2019 05:44 PM
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.
04-09-2024 07:50 AM
Thanks for updating this info
09-21-2020 09:54 AM
04-07-2024 10:56 PM
Have you found any solution yet?
Explore our Alfresco products with the links below. Use labels to filter content by product module.