Badan Singh Pundeer
  • Member for 6 years, 8 months
  • Last seen more than 2 years ago
Upload File in ContentFolder
Accepted answer
2 votes

As per my understanding, you want to add a file in Content Folder and it's not possible to use folder id in LinkedEntityId field. Please follow these below steps: Insert ContentVersion. Insert ...

View answer
Visualforce page and Visualforce component
Accepted answer
2 votes

Yes, you are right. All the visualforce components and page loaded in a single apex transaction. An Apex transaction represents a set of operations that are executed as a single unit. All DML ...

View answer
sforce.one.navigatetourl is not working in lightning
1 votes

Please try this: sforce.one.navigateToURL('/home/home.jsp',true);

View answer
How to restrict record access from users who are on same level in role hierarchy
1 votes

If you disable the Grant Access Using Hierarchies option, sharing with a role or territory and subordinates only share with the users directly associated with the role or territory selected. Users in ...

View answer
creating Mail Merge templates with if fields
1 votes

Yes this is possible to have conditional IF statements in an email template. Some time its not works when you are using "HTML Email Template" because of metadata issue. Issue: If you are using IF ...

View answer
How to get aggregate results from generic map?
0 votes

We can process aggregate query result like below example: Map<Id, Account> ordersByAccountIdMap = new Map<Id, Account>([SELECT Id, (SELECT Id FROM Orders) FROM Account]); for(String key: ...

View answer
ChatterMessage Trigger not working for Community User
Accepted answer
0 votes

ChatterMessage trigger was not running for the community user, so we used a trigger on FeedItem and it was working fine in the context of community user. trigger FeedItemTrigger on FeedItem (before ...

View answer
Knowledge article reporting "Number of results" issue
0 votes

It's an average over the duration you specify, it won't always be an integer value. For example if you run two searches and one has 5 results and one has 6 results, your Number of Results will be 5.5. ...

View answer
Can Lightning Pages created with Lightning App Builder be used for desktop?
0 votes

Currently you can only use Lightning Components in the Salesforce1 Mobile App or a standalone app. Lightning Components have been built to be mobile first, but with responsive design in mind. So you ...

View answer
write if/else condition for mail merge template
0 votes

Yes this is possible to have conditional IF statements in an email template. Some time its not works when you are using "HTML Email Template" because of metadata issue. Issue: If you are using IF ...

View answer