Content type for csv
The Content Type for csv is 'application/csv'. The Content Type for text is 'text'.
The Content Type for csv is 'application/csv'. The Content Type for text is 'text'.
To remove required field validation in a Visualforce page, set immediate attribute in <apex:commandButton> tag to true. Example:<apex:commandButton value="Cancel" action="{!cancelChanges}" immediate="true"/> here immediate="true" makes the action to be executed first ....
Sample Code: Document d = new Document(); d.FolderId = '00l90000001KHtg'; //Id of the folder under Documents d.Name = e.Name + Date.Today(); ....
Sample Code: Employee__c e = [SELECT Name from Employee__c WHERE Id = : eid]; Attachment a = new Attachment(); a.ParentId = eid; a.Name = e.Name + Date.Today(); a.ContentType ....
Sample Code: Visualforce page: <apex:page controller="Sample" sidebar="false" action="{!fetch}" contentType="text/plain/#emp.txt" cache="false"> Employee Number : {!emp.Name} Employee Name : {!emp.Employee_Name__c} City : {!emp.City__c} Email : {!emp.Email__c} Description : {!emp.Description__c} </apex:page> Apex Controller: ....
Sample Code: Visualforce page: <apex:page controller="Sample" sidebar="false"> <apex:pageBlock > <apex:repeat value="{!numbers}" var="num"> <apex:outputText >{!num}</apex:outputText> <br/> </apex:repeat> </apex:pageBlock> </apex:page> Apex Controller: public class Sample { public List<Integer> numbers {get;set;} Transient Integer ....
1) Rule Criteria : "every time a record is created or edited WrkFlw Rule 1:On Opty Status = 'Open' , update Status = 'Closed'WrkFlw Rule 2:On Opty Status = 'Closed', ....
1. Copy the URL of the new record creation window. 2. Create a Formula field with text data type "Text" and use HYPERLINK function. Inside the HYPERLINK function paste the ....
Please visit the below page for Salesforce.com Maintenance exams schedule details: http://certification.salesforce.com/schedules. Cheers!!!
Check the below links for Online PDF Password remover http://pcsupport.about.com/gi/o.htm?zi=1/XJ&zTi=1&sdn=pcsupport&cdn=compute&tm=75&f=00&su=p504.6.342.ip_&tt=3&bt=2&bts=22&zu=http%3A//rubypdf.appspot.com/pdfdecrypt.html or http://online2pdf.com/ Easiest and fast way!!! Cheers!!!