Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- debugger;
- if (this.isLightning == true)
- {
- var compDefinition = {
- componentDef: this.currentPacakageNameLWC + ":myPreferences",
- };
- // var encodedCompDef = btoa(JSON.stringify(compDefinition));
- this[NavigationMixin.Navigate]({
- type: "standard__component",
- attributes: {
- componentName: "c__SRSettings"
- },
- state: {
- c__WorkspaceId: this.workspaceId
- }
- });
- }
- else
- {
- window.parent.location = this.sfdcBaseURL + "/apex/" + this.packageName + "navigationVf?currentpage=myPreferences";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement