04-25-2019 10:14 AM
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 04: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 06: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 02: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 04:50 AM
Thanks for updating this info
Explore our Alfresco products with the links below. Use labels to filter content by product module.