please could someone provide me steps on how to XOG a portlet from Dev to QA environment? Also from where i can install the XOG?
You can install the XOG client from Administration > General Settings > Client downloads
You need to set the .properties file under the bin folder and provide the following info -
portnumber (for ssl it will be 443, else, 80)
sslenabled = true / false (set to true if running against a SSL enabled server)
fipsenabled = true / false (set to true if running against a SSL enabled server in FIPS 140-2 mode)
input= this is the location where the input xml is saved (e.g. D:/CA_PPM_XOG/input/test.xml)
output= this is the location where the output xml will be saved (e.g. D:/CA_PPM_XOG/output/test_out.xml)
username= this is the username used to perform the xog
password= this is the password used for the above username
You need to first read the portlet using the portlets_read.xml file under the xml folder of the directory where the XOG client is installed
<?xml version="1.0" encoding="UTF-8"?>
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd">
<Header version="8.0" action="read" objectType="contentPack" externalSource="NIKU">
<args contentType="view" name="order_by_1" value="code"/>
<args name="documentLocation" value="C:\niku"/>
<Filter name="code" criteria="EQUALS">test_portlet</Filter>
The output of this would be stored under the output folder that you have set in the .properties file
You can use that output as the input file to xog into another environment
You can read the file from the source environment and once you get the output file, use the output file as input file while xogging back to destination by changing the property file by updating the destination system
From where can i install the XOG for v13.3? because in clarity, i do not see the option in client download?
Check if you have software download right.
If you can get the Administration - XOG (global access right), you should be able to see the Client Downloads option under Administration > General Settings
You can also use the Content Packages (under Administration > Content Packages) option to transfer file from one environment to another.
You need to have Content Add-Ins - Administer access right (global). This right allows administration of content add-ins. Includes the Administration - XOG access right.
HI..thats helps, but i have never worked with XOG before, so how to i make the xml read from my dev and write in QA?
XOG developer guide would be the best to go through
Check the below link -
I guess this is used in v14.2 . I am looking for v13.3. anyway thanks, above information is really helpful.
I think it's the same way in 13.3 as well
HI, i am trying to run the portlets_read.xml through the .properties option , but on running it i get a message saying:
C:\Program Files (x86)\CA\Clarity\CA Clarity PPM XOG>bin\xog -propertyfile portl
Clarity XML Open Gateway ( version: 18.104.22.168.6 )
Missing username parameter
Missing password parameter
No valid input files specified
I do have the username and password specified in my .properties file.
Can you help me with this?
Can you check the portlet.properties file under the bin folder As the message suggests, you need to put in the following -
Can you paste the content of the portlet.properties file ?
My file is:
# --- server host name you want to test against
#default port number for ssl
#set to true if running against a SSL enabled server
#set to true if running against a SSL enabled server in FIPS 140-2 mode
Your SSL enabled is true and port for SSL is commented out.
If you are not using SSL then please make sslenabled= false , else if it is true then make the portnumber=443
This is the general port setting.
After changing that i am getting "No valid input file specified". I checked that pdf and have all of it according to it.
I think your paths are screwed up.
Try to run the xog command from the bin directory, not its parent. Make sure the test.properties file is in the bin directory.
the error indicates that the input file is not valid, can you share your propertyfile
My Propertyfile is :
and my read XML is:
<!-- you change the order by simply swap 1 and 2 number in the name attribute -->
<args name="order_by_1" value="code"/>
<Filter name="code" criteria="EQUALS">kc_act_hrs</Filter>
the path looks to be problematic
I used the native path
Instead of this
So, it's a forward-slash and not a back-slash
For getting the output you need to provide a valid input file
Yes, these all the information are provided in xog Developer https://support.ca.com/cadocs/0/CA%20Clarity%20PPM%2013%202%2000%20%20On%20Premise%20-PLK/Bookshelf_Files/PDF/CAClarityPPM_XOG_DeveloperGuide_ENU.pdf?intcmp=searchresultclick&resultnum=27
In case you face any difficulty in Xogging, you can use the xog tool below -
You just need the following to start xogging -
Username used for XOG
Password used for XOG
You can run the read xml and get the output
Retrieving data ...