GetdocumentbyKey Issue with Newline Character

Hi Lotus Gurus,

We are facing an issue while passing key parameters as one of the key value has newline characters in it.

Basically we are passing an array of key values to our function, however whenever new line character is encountered it does not retrieve the corresponding document.

Many Thanks in advance.

Thanks & Regards,

Pervela Mallik Ram Sharma

Subject: GetdocumentbyKey Issue with Newline Character

Check the view column. Make sure on the column properties first tab that multivalue seperator is not newline

Subject: RE: GetdocumentbyKey Issue with Newline Character

Hi Barry,

Thanks for your reply.

In fact the column properties first tab multivalue seperator is set to None.

The field in question does not accept mutli value/s, however value/s are stored in rows as user inputs value by pressing ENTER key.

In the form document properties the field shows up as Text List, whereas in the view it shows up as Text.

Many thanks in advance.

Thanks,

P. Mallik Ram

Subject: RE: GetdocumentbyKey Issue with Newline Character

Maybe in the field formula on the form you should do a @replace(fieldname;@char(13);“”)

And then either edit those docs manually or run a agent with the same formula to do a one time cleanup