I created the notifications for a screen. When I edited something in that screen and saved, the system generated a notification. Now I want when I delete a record that the system also generates a notification. Is there any way without coding to solve it?
Example:
I delete a record in Item Classes and I want to receive notification in Send Notifications Screen.
Related
I deployed a client script that handles a click event on a custom button. When I click the button, I may an api call to get data and the field is populated with the data. This part works great, but when I go to save the new information on the record, I get this alert:
The record has not changed. Do you really want to submit it?
Is there some way to trigger a form changed event or something similar?
try setWindowChanged(window,true)
I need to encrypt the real message that user write in compose mode in Gmail , so I created a Chrome extension that creates another button of 'secure send' in compose window ( I am using gmail.js library and InboxSdk library ). The problem is that when user write a new message a draft save automatically every time user keep writing and the real message actually not secure.
I think about update every time the draft when user change the content via Gmail API Users.drafts: update but the problem that also here it's save for a while to Google and I don't want it.
Is there some option to cancel the auto save of the draft? Then maybe I somehow try to save the draft by myself.. I don't see anything about this in the gmail.js and InboxSDK library's and also in the rest of my research...
AFAIK gmail-api hasn't a method to block the Gmail UI draft message autosave. In an scenario like the one described on the question, I think that the best is to avoid the use of the Gmail UI to compose new messages.
Anyway, Gmail draft autosave on the UI is done by using AJAX. I suggest you to try to find out which request sends the body of the draft messages and block it only while your extension users writes something to be encrypted.
I am working on an Outlook mail app, which will be available to user on web only (not of outlook desktop).
A file need to be uploaded from app to azure via custom control in compose form of App, meanwhile the file is uploaded to Azure user should not be able to close the mail. If they try to do so, a warning should be given to them.
Adding to #Slava's answer, I would suggest using addAsync API for notification messages. You can add a notification of type progress indicator until your task is complete and replace it with a notification of type informational message.
Click here for reference
Unfortunately Office.js API does not have the feature you are inquiring. You will not be able to disallow user interaction, as such closing the compose window or closing your add-in. As the API doesn't have "OnSend" or "OnClose" events you will not be able to display any warning either. If this is the new feature you would like to add you may try to send request via Office Developers User Voice.
As the work around you should clearly indicate for the users that they need to wait and do not interup operation. You should display activity indicator, indeed. And finally you should be prepare user still interupt the operation in the middle and work properly with the error occur.
Hope this helps.
Is there a way to send a notification email in acumatica when the currency rates for TODAY is saved?
We tried adding a automation notification for the Currency Rates screen trying all possible values in conditions, But it looks like the notification is not generated for this particular screen.
I believe that Automation Notifications can only be sent based on a change on the screen, rather than a change in the database, so that may be why you're not seeing the email send.
You could modify the Save action on the Currency Rate screen to send a notification whenever it's pressed.
I had to do something similar with PO's/Requisitions/Requests here:
Sending notification to requester when PO is created in Acumatica
I'm trying to find out how to run a script to edit a record before the it's actually called by the user. So far all events seem to be handled when there is some kind of interaction with the record.
This is to be able to automatically send emails with the customer's information upon creation.
Write into NS DB > Script updates user data and sends email > First view/edit is made.
Seems the previous admin managed using UE on beforeload, but that is not working anymore.
nlapiGetNewRecord().getId() --> returns an id not belonging to the record.
Any ideas how to trigger a script on creation?
Based on your requirement to send an e-mail on record creation, I don't see where the record editing takes place.
Though if you do want to edit the record just before it is created, you can use beforeSubmit(type) in a User Event script and have it run when type == "create".
Otherwise if no editing is needed, afterSubmit(type) in a User Event script and have it run when type == "create" should work just as well.
If I understand your requirements, the editing code(assuming based on what you are saying that you are trying to edit the record that is created) should be written in a beforeRecordSubmit and the email sending should be done in afterRecordSubmit. This way you know the data you want to enter is written to the database correctly (brs) and the email is only sent if the record commits in the database correctly (afs).