sushant ujlayan
IndividualForum Replies Created
-
sushant
MemberFebruary 20, 2017 at 1:23 PM in reply to: How to pass account id as a parameter to custom button on standard Account Detail Page in salesforce? -
sushant
MemberFebruary 20, 2017 at 1:21 PM in reply to: How to display Map values on Visualforce Page ?Hi Vikas,
you can use this:
<apex:pageblocktable value="{!MapName} var="key">
<apex:column value="{!MapName[key].< Enter value regarding this key here>}"/>
</apex:pageblocktable>
Thanks
-
sushant
MemberFebruary 16, 2017 at 3:02 PM in reply to: How can we define Hyper link on Standard Account Detail Page in salesforce ? -
sushant
MemberFebruary 16, 2017 at 2:44 PM in reply to: How to resize a rich text field on a Salesforce Visualforce Page?Hi Kumar,
You can try this:
.sfdc_richtext img{
border: 0;
height: 15%;
width: 15%;
}Thanks
-
sushant
MemberFebruary 15, 2017 at 2:33 PM in reply to: How to add error message to specific inputText / inputfield in visualforce pageHi Vikas,
You can follow this link,it may help you.
https://developer.salesforce.com/forums/?id=906F000000096SiIAI
Thanks
-
sushant
MemberFebruary 15, 2017 at 2:32 PM in reply to: How to show Particular div to be on top of everythingHi Vikas,
Set the DIV's z-index to one larger than the other DIVs. You'll also need to make sure the DIV has a position other than static set on it, too.
Thanks
-
sushant
MemberFebruary 15, 2017 at 2:29 PM in reply to: Apex Param "assignTo" attribute to function correctly with command buttonHi Vikas,
Finally I found the problem. Apex is not supporting param and commandbutton so you have to work around with reRender attribute and reRender not the whole page.
apex:column headerValue="Action" id="all">
<apex:commandButton value="Accept" action="{!Accept}" reRender="all" >
<apex:param name="deal" value="{!deal.Id}" assignTo="{!dealId}" />
</apex:commandButton>
<button type="button">Reject</button>
</apex:column>Thanks
-
sushant
MemberFebruary 15, 2017 at 2:11 PM in reply to: how can we Use Heroku Connect to Sync with Salesforce?Hi Vikas,
Refer to this link,it may help you.
Thanks
-
sushant
MemberFebruary 15, 2017 at 2:09 PM in reply to: How to mask telephone field in visualforce page?Hi Kumar,
Follow this link,it may help you.
https://developer.salesforce.com/forums/?id=906F000000095o2IAA
Thanks
-
sushant
MemberFebruary 13, 2017 at 11:48 AM in reply to: How to create a list type menu option on visualforce page?Hi Pranav,
Dependent picklist is the solution for this.Refer to this link for more info:
Thanks
-
Hi Pranav,
Have you checked out the documentation in the help files around forecasting. That is where I have found the best general information. Here is the link:
https://help.salesforce.com/apex/HTSearchResults?qry=forecasting
Thanks
-
sushant
MemberFebruary 13, 2017 at 11:30 AM in reply to: Lead convert creating duplicate contact, Account and OpportunityHi Ajit,
Following ways can prevent duplication of objects:
1. Create and populate unique identifiers on the lead object.
Before you plan to convert a lead, you need to plan for fields on the lead which would help you to identify the duplicate contact. You can start with first name, last name, email id or date of birth if you store them as one of the key fields but this would cause some records to be not matching because of the name fields which is always entered wrongly or changed in your ERP or back end system.
So in this case, if the lead gets created first because the lead registered on your website and then at some point, your back end system creates a contact record, you can create the unique identifier on the lead like customer id as an example which can be used to match leads with contacts..
2. Verify and allow minimal fields to be populated before lead conversion.
Once the lead is entered in salesforce and at the point where the user is about to convert the lead , creating an intermediate visual force page would help to check for minimal fields to be entered on the lead so that the converted lead would have relevant data. Fields like phone number or email id, description fields are examples of these lead fields. The visual force solution would make sure that all these minimal fields are filled and required and once the data is filled in, the conversion solution can be triggered to convert the lead to account and contact.
3. Plan for overwriting contact fields or not to overwrite contact fields.
If you have already enabled integration with your back end system, there is a possibility that the customer record (contact) has been created already prior to conversion happening. So in that scenario, you can create the lead conversion solution to check for existing contact record and only update the lead fields on the contact. Here are simple things which you need to be aware of.
1. You should avoid overwritting contact records from the lead and your lead conversion solution should handle it.
2. The default lead conversion solution will overwrite the contact with lead information on standard fields and so a trigger which should copy the old contact information and re update the contact should be considered.
3. Also plan for which fields you want the conversion solution to update and which not to update.
4. Batch mode automatic lead conversion.
This might be a great solution where once the lead is updated with the minimal lead conversion solution, a batch process can be created which would read each lead and automatically convert the lead to account and contact. The batch solution would also create error reports on conversion failures and leads which are not converted as well.
We have a solution which can automatically convert a lead , prevent duplicate contacts from getting created by looking for unique identifiers and also create opportunities on courses which can help in ROI reports on campaigns.
Thanks
-
sushant
MemberFebruary 13, 2017 at 6:41 AM in reply to: Embed Visualforce Page in Salesforce Lightning ComponentHi Ajit,
You can use iframe to expose your Visualforce Pages within a Lightning Component.
Follow this link, it may help you.
iframe in Lightning Component - https://github.com/salesforcejeff/jargon/blob/master/articles/iFramecomponent.md
Thanks
-
sushant
MemberFebruary 13, 2017 at 6:35 AM in reply to: How do I get a Salesforce controller variable in a URLFOR using a command button?Hi Abhay,
Follow this link,it may help you:
http://salesforcesource.blogspot.in/2008/12/urlfor-function-finally-explained.html
Thanks
-
sushant
MemberFebruary 13, 2017 at 6:11 AM in reply to: Can we launch Lightning Tab in Salesforce classic?Hi Vikas,
Lightning Page tabs only facilitate inclusion of the Lightning Page in Salesforce1 and Lightning Experience.
Follow this link for more info:
https://help.salesforce.com/articleView?id=creating_flexipage_tabs.htm&language=en_US&type=0
Thanks
-
sushant
MemberFebruary 9, 2017 at 12:07 PM in reply to: How can we obtain lock on the particular soql query record in salesforce? -
sushant
MemberFebruary 9, 2017 at 11:53 AM in reply to: How to make callout from standard detail page?Hi Piyush,
You can make callout from standard detail page by making a button and adding that button on that page which opens a Vf page which can be used to make callout.
Thanks
-
sushant
MemberFebruary 9, 2017 at 11:46 AM in reply to: How can we perform arithmetic operation on child object and get result in Salesforce Parent Object?Hi Mohit,
You can use Roll up summary Field in parent object.For more info,follow this link:
http://www.jitendrazaa.com/blog/salesforce/roll-up-summary-fields-in-salesforce/
Thanks
-
sushant
MemberFebruary 9, 2017 at 11:44 AM in reply to: What are the best practices to implement the email deliverbility settings in salesforce?Hi Naman,
Follow this link,it may help you.
https://www.marketingcloud.com/blog/email-deliverability-best-practices/
Thanks
-
sushant
MemberFebruary 9, 2017 at 11:38 AM in reply to: Can auto response rule be created for email services in Salesforce? -
sushant
MemberFebruary 9, 2017 at 8:50 AM in reply to: How to Send Multiple Emails which are entered from Vf PageHi Shravani,
Use this code
public void SendEmail(List<Id> userids){
Messaging.MassEmailMessage mail = new Messaging.MassEmailMessage();
List<Id> contactIds = new List<Id> ();
contactIds .add('003Q0000005DYvTIAW');
contactIds .add('003Q0000005DYvTIAW');
mail.setTargetObjectIds(contactIds); mail.setTemplateId('00XQ0000000HvBNMA0');mail.setSaveAsActivity(false);
Messaging.SendEmailResult[] sendEmailResults = Messaging.sendEmail(new Messaging.MassEmailMessage[] { mail });
for (Messaging.SendEmailResult sendEmailResult : sendEmailResults) {
if(sendEmailResult.isSuccess()){ System.debug('success');}
else{ System.debug(
'error');}
}
}
Thanks
-
sushant
MemberFebruary 8, 2017 at 2:10 PM in reply to: Salesforce Integration with external system - authentication best practices -
sushant
MemberFebruary 8, 2017 at 2:07 PM in reply to: How to upload Documents in Adobe sign through its ApiHi Vikas,
Visit the following link, it may help you -
https://forums.adobe.com/servlet/JiveServlet/previewBody/3753-102-1-4615/EchoSign%20API%20Guide_v2.pdf
Thanks -
sushant
MemberFebruary 8, 2017 at 2:05 PM in reply to: how to encode and decode files to base 64 format in salesforceHi Vikas,
You can find online tool to encode and decode files to base 64 Format.
Thanks
-
sushant
MemberFebruary 8, 2017 at 2:04 PM in reply to: How to send base 64 file in post request using postmanHi Vikas,
You could find online base64 image encoder. They encode an image to a string.
The example of raw body in JSON format in the POSTMAN:
"profile": {
"first_name": "John",
"last_name": "Dow",
"photo": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAACnej3aAAAAAXRSTlMAQObYZgAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII="
}Thanks