Skip to main content

Questions tagged [bestpractice]

Referring to the use of recognized community and platform best practices. May relate to all areas of lifecycle and all development and administration activities.

0 votes
0 answers
57 views

I have a custom metadata table that stores different combinations of field values, including picklist values that contain special characters like quotes (", ') and semicolons (;). Current Setup ...
jkdev's user avatar
  • 1
0 votes
0 answers
48 views

we have customers that own one or more assets. Each asset is a large machine that is individually configured. In our B2B commerce shop, customers should be able to order spare parts and consumption ...
Christoph's user avatar
  • 1,032
0 votes
2 answers
116 views

I am doing an update an opportunity from a event, in the trigger I have this List<Opportunity> opportunitiesToUpdate = new List<Opportunity>(); for(Event anEvent : events) { if(String....
Muhammad Bajwa's user avatar
1 vote
3 answers
303 views

I'm wondering if there's any benefit to adding an if statement to check if data changed prior to modifying in a before trigger (assuming I'd always want that specific value). The example below is ...
msing's user avatar
  • 53
1 vote
1 answer
538 views

I'm wondering what is the best practice in a situation where I have a conditional query - do I use an if/else to create my query string and use dynamic query in one place, or use static query and ...
msing's user avatar
  • 53
-1 votes
1 answer
172 views

Can I call a method in another class with the same method name but with different cases. For example a method testMethod() is in classA. And itsl is called as ClassA.TestMethod() in ClassB. Will it ...
BeginnerBuddy's user avatar
1 vote
0 answers
80 views

I have this test: it('handles errors from getDummyApiUsers', async () => { // Arrange const mockError = new Error('Simulated error from getDummyApiUsers'); ...
Brian Kessler's user avatar
0 votes
0 answers
156 views

I'm wondering if anyone has suggestions or best practices for campaign naming conventions when it comes to evergreen campaigns or campaigns that run beyond a single fiscal year. Currently, my company'...
svd582's user avatar
  • 3

15 30 50 per page
1
2 3 4 5
29