function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
GeorgeTrommelenGeorgeTrommelen 

Urgent ; Field Adres street in 2 lines

In the filed Street it is possible to use a rule end so the address comes over to lines.
Does anybody know how to prevent this?
 
We use an API call to an older backend system and a rule end creates major problems, we want to prevent this on both sides.
 
If you know somehow, contact me. It is also possible to call.
 
George
Best Answer chosen by Admin (Salesforce Developers) 
SovaneSovane

Hi George,

You have two options :

- The first one is to modify the data at the source by reformatting line feeds (with apex code) but it could interest the users to xrite on several lines

- The second one is to modify your backend system to deal with LF chars : for example if you extract the data using the dataloader, you will see a difference between line feeds (LF) of you address field ; and the carriage returns + Line feed (CR LF) of the end of the CSV line.

Message Edited by Sovane on 02-03-2009 12:24 AM

All Answers

SovaneSovane

Hi George,

You have two options :

- The first one is to modify the data at the source by reformatting line feeds (with apex code) but it could interest the users to xrite on several lines

- The second one is to modify your backend system to deal with LF chars : for example if you extract the data using the dataloader, you will see a difference between line feeds (LF) of you address field ; and the carriage returns + Line feed (CR LF) of the end of the CSV line.

Message Edited by Sovane on 02-03-2009 12:24 AM
This was selected as the best answer
GeorgeTrommelenGeorgeTrommelen

Hello Sovane

Thanks for the remarks, we did now the second solution you propose.

 

The reral solution would be in SFDC so we can modify the Address layouts, We in Holland do not need e.g. State or the possibility to use a second line in the Street.

 

Thanks anyway.

George