+ Add post
Hi Community,
How can I open an Edit Page in client code?
Like
Something like this
this.openCardInChain({ schemaName: "UsrMyPage", operation: ConfigurationEnums.CardStateV2.EDIT, id: theIdToEdit, moduleId: this.sandbox.id + "_UsrMyPage" });
You'll also need to add ConfigurationEnums to the modules list. This means you'll add ConifurationEnums to the module/page you're using this code above from:
define("UsrMyCurrentPageV2", ["ConfigurationEnums"], function(ConfigurationEnums) { //.... }
Ryan
Thank you Ryan, this is what i am looking.
Fulgen Ninofranco,
Hi,
id: theIdToEdit,Here which id we have to mention in the code.
praveen n,
Supply the Id of the record.