Changes for page TRKToXML
Last modified by Outhman Moustaghfir on 2022/12/29 10:42
<
>
edited by Outhman Moustaghfir
on 2022/12/27 09:52
on 2022/12/27 09:52
edited by Outhman Moustaghfir
on 2022/12/27 11:34
on 2022/12/27 11:34
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,0 +1,96 @@ 1 + 2 + 3 +{{box cssClass="floatinginfobox" title="**Contents**"}} 4 +(% aria-label="macro:toc widget" contenteditable="false" role="region" tabindex="-1" %) 5 +((( 6 +{{toc/}} 7 + 8 +(% style="background-image:url(https://ixpath.app/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.53.2/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||height="15" role="presentation" title="Click and drag to move" width="15"]] 9 +))) 10 +{{/box}} 11 + 12 += Introduction = 13 + 14 +In this section, we will go throw TRKToXml connector to get trackings by trkID and tracking type. 15 + 16 +== **__Icon:__** == 17 + 18 + 19 +[[image:trkToXml.png]] 20 + 21 +The connector exists in the scenario panel: 22 + 23 +[[image:connectors.png]] 24 + 25 +== **__Configuration:__** == 26 + 27 + 28 +**__[[image:configuration.png]]__** 29 + 30 +* //**Name **//: To give a name to the processing step (connector). It is very useful to give meaningful names 31 +* **Output FileName** : The name of your output file. 32 +* **//Condition //**: This field allows you to add a condition to execute the processing step only if the condition is met. 33 + 34 +== __**Example 1:**__ == 35 + 36 + 37 + __**[[image:scenarioTrackingToXml.png]]**__ 38 + 39 + 40 +You will find in this part an example of an input file with the correct format and an output file. 41 + 42 +=== __input File:__ === 43 + 44 +<iXDoc> 45 + 46 + <TrackingType >IXEnvironment</TrackingType> 47 + 48 + <TrkIDs>62ec9e0928e4773780f37762</TrkIDs> 49 + 50 + <Keys>creationDate</Keys> 51 + 52 + <Values>2022-08-05T04:35:21.731+00:00</Values> 53 + 54 + <Limit>1</Limit> 55 + 56 + <Order>TrkID</Order> 57 + 58 + <Status>Available</Status> 59 + 60 +</iXDoc> 61 + 62 + 63 + 64 +1. trackingType: it refers to type of tracking wanted. (eg : order , IXEnvironment, baseArticle ...). 65 +1. TrKIDs :it refers the trkID of tracking wanted . 66 +1. limit: it defines the max number of tracking to retrieve. **it's optional.** 67 +1. order: whether you want to order the list of trackings in a descending way or not by a certain key order. The default value is 'trkID' and it's optional as long as you fill the limit value. 68 + 69 += __output File:__ = 70 + 71 + 72 +<?xml version="1.0" encoding="UTF-8"?> 73 + 74 +<iXDoc> 75 + 76 + <IXEnvironment creationDate="2022-08-05 16:47:08" envID="iXPath" modificationDate="2022-08-05 16:47:08" statusTracking="Available"> 77 + 78 + <parent/> 79 + 80 + <gitRepository/> 81 + 82 + <timezone>GMT</timezone> 83 + 84 + <alias>iXPath</alias> 85 + 86 + <active>true</active> 87 + 88 + <logo/> 89 + 90 + <id>62ec9e0928e4773780f37762</id> 91 + 92 + </IXEnvironment> 93 + 94 +</iXDoc> 95 + 96 +as you can see in the output file we get the tracking with its data and metadata.
- configuration.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.omoustaghfir - Size
-
... ... @@ -1,0 +1,1 @@ 1 +19.9 KB - Content
- connectors.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.omoustaghfir - Size
-
... ... @@ -1,0 +1,1 @@ 1 +70.5 KB - Content
- scenarioTrackingToXml.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.omoustaghfir - Size
-
... ... @@ -1,0 +1,1 @@ 1 +30.7 KB - Content
- trkToXml.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.omoustaghfir - Size
-
... ... @@ -1,0 +1,1 @@ 1 +5.4 KB - Content