We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
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

How to create a new record same as old one on button click using Addins

Received Response
10
Views
3
Comments
edited Nov 16, 2017 7:40AM in UI Extensibility 3 comments

Content

I need to create a new asset record on button click from the original one. All the details have to copy to the new one including ID but revision number has to increment  by 1 for the new one.
I used Editor command Copy but it is not copying all the fields and also the name of the new record is appending with text(Copy)
Please help me on this.
ThanksInAdvance

Code Snippet

             _recordContext.ExecuteEditorCommand(RightNow.AddIns.Common.EditorCommand.Copy); 
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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