New answers tagged

0

Additionally remove the space between variable (field api) and values for example: /lightning/o/Order/new?defaultFieldValues= Name={!URLENCODE(Opportunity.Name)}, OpportunityId={!Opportunity.Id}, ShipToContactId={!Opportunity.Primary_ContactId__c }, Customer_ContactId__c={!Opportunity.Primary_ContactId__c}, Freight_Cost__c={!TEXT( Opportunity....


0

I think Adding a Confirmation Screen at the end ("User can click 'finish' which will refresh the flow) and Also Adding a Screen in the beginning with something like "Press Next to Continue" will solve this.


0

You can do this via declarative tool, for example: process builder. If you want to automatically create a Car record whenever an Order record is generated, that means your process builder must be based on Order object, then you can either choose only to run it when record creation only OR also when edited. Normally I would choose on both record creation and ...


0

There are multiple ways to achieve this like a process builder, trigger, flow. However, I am suggesting the process builder based on its simplicity and point and click build ability. All you have to do is to create a Process Builder on Order Object and use 'Create a Record' operation to create a Car record and populate the OrderId value with the Newly ...


0

Note that the Javascript is case sensitive, I suggest you change from onClick to onclick. Rewriting the code as below should work <aura:component implements="forceCommunity:availableForAllPageTypes, force:appHostable" access="global"> <button class="button" label="Open in New window" onclick="{! c.handleClick }">Contact Support</button&...


1

At the moment there is no way to restrict button visibility on listviews other than what you already mentioned. There is an idea for this marked as in development and should be released in Winter 21 https://success.salesforce.com/ideaView?id=08730000000Br37AAC


0

Going just by the URL, I'd say you are missing a comma in the second last line: /lightning/o/Order/new?defaultFieldValues= Name={!URLENCODE(Opportunity.Name)}, OpportunityId={!Opportunity.Id}, ShipToContactId={!Opportunity.Primary_ContactId__c }, Customer_ContactId__c={!Opportunity.Primary_ContactId__c}, <======== HERE ========= Freight_Cost__c= {!...


2

It looks like the following URL when I click on the button: https://{yourdomain}.my.salesforce.com/servlet/servlet.su?oid={orgId}&retURL=%2F{contactId}&sunetworkid={networkId}&sunetworkuserid={userId} You should be able to use the same URL as the standard button and fill in the appropriate values/variables. I was able to copy and paste it into ...


1

You can create a trigger on a Deal object (since you need a Deal Id, use after insert trigger) and then call an API method by using asynchronous Apex. For example, a @future(callout=true) method. There is a limitation of 100 callouts per transaction. So you need to split your trigger transaction (200 records max) into 2 chunks by 100. You can also use ...


0

No Sam you cannot override the Mark complete and Save button directly. The possibe workaround would be, creating the new lightning components (with implementation of lightning:actionOverride interface) for each NewTask and StatusChange buttons. Thanks,


Top 50 recent answers are included