You need to sign in to do that
Don't have an account?
sfdc@isha.ax1814
Please Help-Current Accountid Is not Coming in Brases In URL
Hi Everyone.
I need topass the Current Account id in the URL . The problem here is when iam passing accId into the URL Outside brases Value is coming but not inside brases.Pleas efind screenshot for reference.
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,force:hasSObjectName,force:lightningQuickAction,forceCommunity:availableForAllPageTypes" controller="LightningTabComponentController" access="global">
<aura:attribute name="recordId" type="Id"/>
</aura:component>
js controller:
var accId = component.get("v.recordId");
alert(accId);
var embedChartUrl='/main/embed?'+embeddedLink+'&urlParams={"INTEGRATION_COMPANY_CODE":"{accId}"}'+accId;
alert(embedChartUrl);
Canyou please someone help me how to get accId in {"INTEGRATION_COMPANY_CODE":"{accId}"}' here in between bases value.
Regards,
Isha
I need topass the Current Account id in the URL . The problem here is when iam passing accId into the URL Outside brases Value is coming but not inside brases.Pleas efind screenshot for reference.
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,force:hasSObjectName,force:lightningQuickAction,forceCommunity:availableForAllPageTypes" controller="LightningTabComponentController" access="global">
<aura:attribute name="recordId" type="Id"/>
</aura:component>
js controller:
var accId = component.get("v.recordId");
alert(accId);
var embedChartUrl='/main/embed?'+embeddedLink+'&urlParams={"INTEGRATION_COMPANY_CODE":"{accId}"}'+accId;
alert(embedChartUrl);
Canyou please someone help me how to get accId in {"INTEGRATION_COMPANY_CODE":"{accId}"}' here in between bases value.
Regards,
Isha