You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

WorkSpace freezes when i use Editorcommand save in recordcontext saving event using Addins

Received Response
45
Views
5
Comments
edited Jun 13, 2022 4:09AM in General Technical Discussions 5 comments

Content

I have a requirement where on save click I need to throw a mandatory message if one of the values are not updated.

There is association with my workspace. so the particular fields values will save on Save the My Workspace.

So what I did is on record context saving event , I m calling editor command save as

_recordContext.ExecuteEditorCommand(RightNow.AddIns.Common.EditorCommand.Save)

and then I m getting the ID from recordconetxt and using ROQL fetching the Associated records. If there are no records then I m throwing a warning and cancelling the save.

But I m getting Committing Changes loading symbol when control comes to

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!