Tech Blog

 

December 14th, 2009 by Mansa Systems

How to migrate Data from Maximizer to Salesforce.com?

Though we can get data in .csv format from Maximizer, but we cannot get all the Notes attached with respective Contacts/Accounts. In order to get the latest notes for respective Contacts/Accounts from Maximizer , we have to export data into single xml file. Then we have to convert this XML file into .csv file first and then import data from these files into the salesforce.com using Data Loader.


You can convert xml data into .csv files using software named as ‘Exult XML convertor’. It can convert the data into Ms Access , SQL Server tables, .csv files etc formats. This software converts single xml file into multiple .csv files if your xml file contain nested tags. These .csv files are connected to each other using Primary and Foreign key relationship. We can use the columns Primary key and Foreign key as an external key to upsert data into salesforce.com


For eg: If you xml file contains:


<Contact>

<Notes>

</Notes>

</Contact>


Exult XML converter will create two .csv files with columns

Contact.csv- columns- ContactP key, FirstName, LastName etc

Notes.csv – columns - NotesP Key, ContactF key, title, body etc


We can relate notes with contacts (ParentId) using Salesforce Id of contacts. Add a column in Notes.csv and using VLOOKUP formula in Excel we can relate two .csv files and hence can upsert /insert data into salesforce.


Note: you need to export all the contact data from salesforce first to assign ParentIds to the Notes. In Notes.csv VLOOKUP will assign the Ids using values from column’ ContactP Key’ from one .csv and column ‘ContactF key’ from another.csv file.


  • Share/Bookmark
December 14th, 2009 by Mansa Systems

How to display different currency format values in Visual Force page?

If your Organization currency is set to any other currency other than USD and you want to display value of currency on a Visual Force Page or PDF, then use <apex:outputField value=”{<Currency Field>}” /> instead of <apex:outputText >.


For example, there is a custom field on Contact ‘Price__c’ and its value is 1.400,00 (German Euro format) on Contact record detail page. So, the difference in the output would be:


<apex: outputText value=”{Contact.Price__c} “></apex:outputText>

Output: 1,400.00

<apex: outputField value=”{Contact.Price__c} “></apex:outputField>

Output: 1.400,00


The difference lies because <apex:outputText> displays the value as it is stored in the Salesforce database but <apex: outputField> displays the value as it is on the detail Page of the record.

  • Share/Bookmark
October 23rd, 2009 by Mansa Systems

Salesforce.com Portal Feature Comparison

Salesforce.com has many portal versions which makes it difficult to understand the features that are available in each version. Here is the complete list which makes it easy in making the right decision to choose which portal license you need to meet your requirements.


Note that CRUD Stands for: C – Create, R – Read, U – Update, D – Delete at object level permissions.

  • Share/Bookmark