We’re rewarding the question askers & reputations are being recalculated! Read more.

New answers tagged

1

Not very intuitive - It seems it's disabled until you set Activate Your Path to true:


1

Harley, if you are on classic, you can use the URL hack to prefill the data. If you are on lightning, you would need a custom lightning component.


1

Harley, The trigger process is only kicked off when a record is saved. I would recommend taking a look at this article Order of Execution When a trigger is written in the way you have described, Salesforce will set the default value before the record is committed to the database. Are you attempting to set a default value when the a user is inserting a ...


2

I think you can try to: Enable Path for your org. From Setup, enter Path Settings in the Quick Find box. Click Enable. To let users decide whether the path remembers its previous state, select Remember User's Path Preferences. If not selected, the path’s details are hidden when the page that the path is on loads. To Enable Path user should have Modify All ...


1

Your problem is here: set<string> conid = new set<string>(); if(conid.size()>0 && conid !=null){ // this will always be false!! for (Contact c : con){ conid.add(c.id); } } you want: set<Id> conid = new set<Id>(); for (Contact c: con) { conId.add(c.Id); } You can actually rewrite this whole class ...


Top 50 recent answers are included