Last active
January 21, 2021 13:11
-
-
Save Naveendhanaraj/ff988f865e7e2e8b54455cd35107d101 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
printPdf(event) { | |
getMetadataValue ({ | |
strDeveloperName: 'Pass_Query' | |
}).then((result) => { | |
this.passquerymdt = result; | |
if(result){ | |
this[NavigationMixin.Navigate]({ | |
type: "standard__webPage", | |
attributes: { | |
url: | |
"/apex/APXTConga4__Conga_Composer?SolMgr=1&serverUrl={!$Api.Partner_Server_URL_370}&Id=" + | |
this.recordId + | |
"&QueryId=" + | |
this.passquerymdt + | |
"&TemplateId=" + | |
this.Data.CongaTemplateId + | |
"&DS7=3&OFN=Check_" + | |
this.Data.Name + | |
"&DefaultPDF=1 + | |
"&DV0=" + | |
"&UF0=1&DS8=1&SC0=1&SC1=salesforcefile" | |
} | |
}); | |
} | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment