PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

How to use &(ampersand) to insert into table in PeopleCode

edited Nov 19, 2018 2:04PM in PeopleTools and Lifecycle Management - PSFT (MOSC) 1 commentAnswered ✓

Hi,

I am reading a REST based request and a description field on the document is having '&' in it. When I am using record object Insert(), Update(), Save() etc., it is not inserting values into table. I tried to replace the & by breaking the description into parts and concatenate & instead of using it.

So if the description is 'Developer & Tester', I am breaking this and trying to use like 'Developer '|'&'|' Tester'. This is inserting the data into one table, but the rest of the message is not being parsed correctly.

If I am removing the & and replacing it with blank, then the whole message is getting parsed correctly and inserting data into all tables.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center