Trigger event for new file in Netsuite File Cabinet - events

I'm new to SuiteScript. Is it possible for SuiteScript 2.0 to create a trigger to start some funcionality as soon as a new file is uploaded to a particular folder in Netsuite's File Cabinet (by web services or manually by drag and drop zone)?
Thanks in advance for helping me out.

I do not see that a server side User Event script can fire for the File object like it can for so many other objects. It is not listed in the "Applies To" field for a script's Deployment record.
Additionally, Workflows have a similar field called "Record Type", and it is not listed there, either.
If you are creating File objects via SuiteTalk, you can execute logic after the "add" method is executed synchronously, or you can call a RESTLet if you would like to execute logic server-side in NetSuite.

Related

Microsoft USD - Change URL based on CaseID

I am new to Microsoft Unified Service Desk, therefore please pardon me if i make any mistake.
My scenario is when a call is received by a call center agent in Unified Service Desk then initially he will create a case for the particular customer and initially the caseID will be null therefore call center agent will see a new case window where he can create a case. Once the case is created he will save the details and the caseID will also be saved. Now, in the next step he will transfer the call to the supervisor and in this case the supervisor will not see a new case window instead he will have the details in-front of him of that particular customer that were saved earlier.
But how will i achieve that do i have to create a hosted control and is there a way i can execute JavaScript inside hosted control.
Looking forward to your help.
Thanks.
What you need to do is.
Create 2 Action Calls.
1st Action Call for New Case with Action New CRM Page.
2nd Action Call for Open Case with Action Open CRM Page.
Put Condition inside Action 1 [[$Settings.YourCaseID]]==""
Put Condition inside Action 2 [[$Settings.YourCaseID]]!=""
Create another Action with SaveSetting Action and CRM Global Manager hosted control.
Once the case is saved fire the third action call (It will save the CaseID inside $Setting).
Now when the case is transferred it will open the case with SavedID.

crm dynamics 2016 limit the number of files in a note

I'm trying to attach a document to the opportunity. My question is
Can the note be altered so that only one file can be attached and not several?
some example?
You can write a plugin on Pre-operation stage of Annotation Create message to evaluate if there is an attachment already for that particular Opportunity & stop the execution by throwing InvalidPluginExecutionException exception.
You can attach only one file in each Notes entry. So this should work.

Window actions vs Server actions in Odoo 10

In the scaffolded module there are two alternatives of the actions defined: a window action and a server action.
But what is the difference of those actions conceptually and when to use which of them?
In Window action, we are register Tree,Form,Kanban,Calendar etc ids. Based on priority, it will open related view.
While Server action are useful for following different-different purpose with selected Base model.
Send Email
Execute Python Code
Trigger a Workflow signal
Run client action
Create or Copy a new Record
Write a Record
Execute several actions

TFS Alert when label is created

Can I configure an alert when a TFS Label is created ? I don't find that option in the current predefined alerts. These are the ones I found:
And I want when a label is created:
Send an email notification.
No, this is not possible using the standard Alert features.
I created my own solution! I don't know how much access you have to your on-premise TFS instance, but you need to be able to execute t-sql scripts against the TFS mssql database. My solution is here: https://github.com/Antebios/tfs-label-notification
And when anyone creates a TFSVC label I get an email alert that looks like this:
Basically, I created a database trigger to populate a table. I query that table and send an email out, then mark the label as sent. I also have a trigger to delete form that table just in case the label gets deleted. I wrote the service in .NET Core just in case anyone wants to convert it to run within a container. Let me know if this helps or not.

Email Alert for Inserting/updating/removing files inside folder in windows7

i have above mentioned case happen at our company, they need to know under certain folder whether its shared or not if any files inserted or removed or update to send alert by email periodically for that action, any thought an ideas please
You can fairly easily create an application in C# that monitors a folder using the FileSystemMonitor class:
https://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher%28v=vs.110%29.aspx
With that you can then have it perform whatever actions you want.

Resources