New answers tagged

0 votes

Update lookup field on custom button click using Javascript

Scripts like this are rendered when the page loads, not when the button is clicked. As such, you'd want to retrieve the record first: {!REQUIRESCRIPT('/soap/ajax/54.0/connection.js')} let auditContact ...
user avatar
  • 430k
0 votes

Best approach to replace onclick javascript button for classic

You can replace button URL: /apex/ApexStart?a=accorto.ProjectLineNS&m=updateProject &n=projectId&v={!accorto__Project__c.Id} &r=/{!accorto__Project__c.Id}&q={!URLENCODE('...
user avatar
0 votes

Best approach to replace onclick javascript button for classic

You can do this in a VF page associated to the button: <apex:page standardController="Account" action="{!IF(Account.Name<>'foo', NULL, ...
user avatar
  • 61.4k
0 votes

Migration Tool: Salesforce Metadata for Object Buttons, Links, and Actions?

This did resolved the issue for me. Quick action belongs to 'CustomObjectTranslation' metadata. And here is the package.xml for you. <?xml version="1.0" encoding="UTF-8"?> &...
user avatar

Top 50 recent answers are included