47 lines
1.6 KiB
Plaintext
47 lines
1.6 KiB
Plaintext
<!-- <apex:page controller="ExternalAuthorizationController" action="{!completeAuthorization}" showHeader="true">
|
|
<apex:includeLightning />
|
|
<div id="lightningvf"></div>
|
|
|
|
<script>
|
|
$Lightning.use("HIC_FilesME:completeAuth", function() {
|
|
try {
|
|
$Lightning.createComponent("HIC_FilesME:welcomeAfterOauthComp",{},
|
|
"lightningvf",
|
|
function(cmp) {
|
|
|
|
}
|
|
);
|
|
} catch (error) {
|
|
throw new Error('Error occurred : ' + error.message);
|
|
}
|
|
});
|
|
|
|
</script>
|
|
|
|
</apex:page> -->
|
|
|
|
|
|
<apex:page controller="ExternalAuthorizationController" action="{!completeAuthorization}" showHeader="true">
|
|
<apex:includeLightning />
|
|
<div id="lightningvf"></div>
|
|
|
|
<script>
|
|
var currentvalue = '{!HTMLENCODE($CurrentPage.parameters.currentvalue)}';
|
|
var drivetype = '{!HTMLENCODE($CurrentPage.parameters.drivetype)}';
|
|
$Lightning.use("HIC_FilesME:completeAuth", function() {
|
|
try {
|
|
$Lightning.createComponent(
|
|
"HIC_FilesME:welcomeAfterOauthComp",
|
|
{
|
|
currentvalue: currentvalue,
|
|
drivetype: drivetype
|
|
},
|
|
"lightningvf",
|
|
function(cmp) {}
|
|
);
|
|
} catch (error) {
|
|
throw new Error('Error occurred : ' + error.message);
|
|
}
|
|
});
|
|
</script>
|
|
</apex:page> |