Posts

Showing posts with the label Import

The Translation Workbench in Salesforce

Image
Use Translation Workbench to maintain translated values for metadata and data labels in your Salesforce org. Specify languages for translation and assign translators for each language. Manage translated values for any Salesforce supported language. Translators can maintain translations directly through the workbench, or you can export translation files for bulk translation imports. This feature is particularly useful for organizations operating in multilingual environments or serving diverse customer bases. The Translation Workbench is a valuable tool for creating a localized experience for users in different regions and language preferences within Salesforce. By translating objects, fields, and metadata, you can improve user adoption and provide a more inclusive experience for your users worldwide. Enable Translation Workbench Translation Considerations Steps to Enable Translation Workbench and Add Languages Salesforce Additional Features to Translate Field Labels, Values, and Many m...

Importing a CSV file using Apex and Visualforce

Here is an example of importing a CSV file using Apex and Visualforce. Depending on your requirements, you may need to enhance this solution with additional error handling, validation, and business logic. Visualforce Page- <apex:page controller="demoImportDataFromCSV">     <apex:form >         <apex:pagemessages />         <apex:pageBlock >             <apex:pageBlockSection columns="2">                    <apex:inputFile value="{!csvFileBody}"  filename="{!csvAsString}"/>                   <apex:commandButton value="Import Product" action="{!importCSVFile}"/>             </apex:pageBlockSection>         </apex:pageBlock>         <apex:pageBlock >           ...