I've built a Photoshop extension before. That API lets me listen for document events, so my extension can perform work in response to what the user is doing in the document.
I'm seeing some mention of HTML events (like event handling for buttons). With this, my plugin can handle events within the context of the plugin's modal UI.
But what I'm wondering is if there is a way for my plugin to react to user-initiated events in the document. Say, for example, if the user changes a font in a text object, I'd like my plugin to be notified of the change. Is this possible?
Not at this time. Currently plugins can only run when the user invokes it from the Plugins menu.
It is on the extensibility road map for the future, though.
Related
I have a requirement that is needed a plugin in Dynamics CRM.
I want to create a plugin on the phonecall entity and after a click on the custom button, the plugin will create an incident with data of phonecall. how can do this please help me? I didn't find any solution or tutorial video on the internet that can help me to implement this requirement.
Before you get into custom coding a plugin, you might want to consider whether you an out-of-box workflow or Power Automate Flow to do what you need.
Whatever automation you choose, you could have it trigger on the setting of a two options field or a change in the Phone Call's status.
You can use Ribbon Workbench to add a custom button and JavaScript to set that checkbox. Or, JavaScript could directly launch the workflow.
The PCF Gallery also has a number of button options which might be easier than the "DIY" option of Ribbon Workbench.
If you definitely need the plugin, you could register the plugin to fire on change of the checkbox, and again use a button to check on the checkbox.
Speaking of actions, you could also publish your Phone Call to Incident logic as a custom action and have the button call that action.
As you can see, there are plenty of options. It is typically a good idea to explore using configurable options like Power Automate Flow and PCF Gallery controls before custom coding a plugin.
Is it possible to find out whether the values stored in CRX are from touchui dialog or from classic ui dialog.
I am creating a checkbox for both UIs. When touchui dialog saves value in CRX it saves on but when classic ui saves value, it saves true. which makes it difficult to use value after reading( touch ui does not recognize true and classic ui does not take on).
Please suggest
Not really. Both mechanisms simply make a POST request to the appropiate resource to create/update it. You could add a hidden field to identify it, but I would recommend against this.
Instead, you should properly configure your dialogs so both versions store your properties in the same way.
In the granite version of the checkbox you can configure the value that will be set in the checkbox with the "value" property. (check the docs for more info)
I have an XFA form (authored in Adobe Designer ES4) with a change event handler defined on a field. When the form is rendered as a PDF and opened in Reader, the change event handler works fine.
However, when importing the XFA into AEM forms (Adobe Experience Manager Forms), adding the field to the AEM form works, but the change event doesn't fire when it is supposed to. I had a change listener setup on a drop-down list. I tried the simple case of a javascript pop-up on any change, but no luck. (Pop-ups do work in AEM)
Offering bounty if someone can reproduce the error, and provide the solution for it. It will probably need some customization in AEM.
Thank you
When you create an Adaptive Form using XFA, change script written in XFA is not executed for all the fields. It is fired only for Radio Buttons and Check Buttons.
I would like to add functionality to the AtTask system by "adding a layer".
What I want to know is whether this can be achieved with a plug-in for Internet Explorer.
To give a concrete example:
This extra layer would allow users to click on "Online Edit" document (which is not available right now). The linked application will open, and when you click save, the file is loaded back to AtTask.
All this happens in the background via the AtTask API, and is transparent to the user.
The question is: is it possible to add functionality to a site by somehow adding layers?
Last comment: this plug-in (or whatever needs to be installed inbto the browser) will only be visible/active when accesing the AtTask website.
Thanks in advance for your responses.
Within the confines of AtTask your best bet is to use an "External Page" create a service that handles the data in the manner you need.
The Dashboard that contains your External Page can be added as a tab via Layout Templates.
Most of the heavy lifting would have to be handled by your application. You would have to link the document(s) you wish to edit.
Some sort of referrer would be necessary to place the revised document back into AtTask. The method in which the client can do this would be determined by your preference and requirements. I am sure you can find some sort of Wiz-Bang jQuery uploader.
Depending on the level of control you have with your user base, you could make an Application URL
Windows : Registering an Application to a URI Scheme
OS X : Launching Scripts from Webpage Links
I do not know of any other way to handle this other than what Steve suggested.
Having said that a possible solution to this is to create a new application and iframe in AtTask.
At the top or wherever on the page your application could have a link for "Online Edit". Then you would use javascript to extract the task id, project id or any other needed information you need for the api to get the needed content to edit. Then save using the same api information.
I have not tried this type of method but theoretically it could work.
I'm using symfony 1.4 for my web project.
I have the following problem (or opportunity): I need to create a calendar where the "common" user has only the ability to see (or read) the date and time of the events and the "admin" user can edit, add and remove new events. So it's basically a google calendar type of thing where I have to different permissions, read and read, write, delete.
Also I need to be able to fully customize a calendar style so that It matches my css.
How would your approach this problem? I've been trying to find the best plugin for this endeavor but I haven't found one that with a good documentation
Thanks in advance!
I recommend FullCalendar jQuery plugin. It gives you very nice JavaScript calendar with drag&drop support. You can use your own CSS style.
On the server side create symfony actions that will return data to FullCalendar API. Just serialize the data to JSON Event Object.
Of course you should use symfony security component to restrict read/write access. Show only those events that users should be able to see. And don't let them access write actions if they don't have write permission.
To manage event data you can either create backend admin module or display your own form when user click on calendar (like Google Calendar does). If you like the second approach then you have to handle it in JavaScript.
I would suggest to build 2 applications for that.
frontend (read/see)
backend (admin)
Just go with the normal symfony approach.. define your models, generate frontend (inkl. modules). There you can adjust you templates and css.
Practicle open book where you can choose the topics you need
Then use the admin-generator to get the backend application. You can customize behaviours and styling of course.