PhenixID

Write to XML File

Version: 1.7

Category: Output

Extended Category: Files, XML

Action Package: Standard Actions

Description

Write to an XML file

ParameterDescriptionExample
Directory to Add File Into[Optional]
The directory to add file into. Leave blank for system tmp directory.
c:\data\files
File Name[Optional]
Leave blank to add unique name.
export.xml
Attributes to Write[Optional]
The Session Attributes to write to the file. Use comma to separate or * for all.
Default is *
url,samaccountname,
displayname
Root Node Name[Optional]
The name used for the root node.
Default: Objects
Users
Session Object Node Name[Optional]
The name for the session object node.
Default: sessionObjectName
User
Append to Existing File[Optional]
If data should be appended to existing file if the file already exists. (true/false).
Default is false
true
Session Attribute to Store the File Name[Optional]
The attribute where file name, including path, will be stored. Leave empty to not store the file name.
FileName
Encoding[Optional]
Encoding to be used. For example UTF8 or ISO-8859-1.
Default is ISO-8859-1
UTF8
XLS Stylesheet Reference[Optional]
Use a XSLT stylesheet to format data.
c:\export\xslt-template.xslt
Write One Unique File for Each Session Object[Optional]
If each session object should be added to a separate file. (true/false)
Default is false
true
Write Multiple Values[Optional]
If all values in a multivalue attribute should be appended as elements of type (true) or only the first value (false).
Default is false
true
Allowed Characters in Tag Names[Optional]
The session attribute names will be used as tag names in the xml file. Enter the characters that will be allowed in the tag names. Unallowed characters will be replaced.
Default: abcdefghijklmnopqrstuvxyzABCDEF
GHIJKLMONPQRSTUVWXYZ1234567890-
abcdefghijklm
nopqrstuvxyz
Replacement Character in Tag Names[Optional]
The character used to replace the unallowed characters in tag names.
Default: –
X

Use Cases

Example 1: Export user to xml file

This action will export the session object to a xml file which could later be imported in another system. All session attributes will be exported.

ParameterValue
Directory to Add File Intoc:\xml-exports\
File Name[BLANK]
Attributes to Write[BLANK]
Root Node Name[BLANK]
Session Object Node Name[BLANK]
Append to Existing File[BLANK]
Session Attribute to Store the File Name[BLANK]
Encoding[BLANK]
XLS Stylesheet Reference[BLANK]
Write One Unique File for Each Session Object[BLANK]
Write Multiple Valuestrue
Allowed Characters in Tag Names[BLANK]
Replacement Character in Tag Names[BLANK]

DISCLAIMER
Information provided in this document is for your information only. PhenixID makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.

The origin of this information may be internal or external to PhenixID. PhenixID makes all reasonable efforts to verify this information.

PhenixID - support.phenixid.se