When trying to create a Property Generation and Validation function to populate the streetAddress attribute you might receive a problem when adding a 2 line address. For example
Fraser Center
Bldg 3
However the policy actually concatenates the 2 lines onto 1 line (i.e. Fraser Center Bldg 3)
None
WORKAROUND:
The following PowerShell script can be used to set the property using the carriage return/line feed special characters `r`n
' *****************************************************************************
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
' EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
' WARRANTIES OF MERCHANTBILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE
'
' IF YOU WANT THIS FUNCTIONALITY TO BE CONDITIONALLY SUPPORTED,
' PLEASE CONTACT QUEST PROFESSIONAL SERVICES OR CUSTOM DEVELOPMENT.
' *****************************************************************************
WORKAROUND
function onPostCreate($Request)
{
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center