Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Data deploy issue
msr
Hi,
I want to deploy the attached files to target env and database at a time.
For that I have used DnR script.
I have one column 'CONTENT_TXT' type 'CLOB'.I want to put the entire html content into 'CONTENT_TXT' column.I have hardcoded the file path for value attribute as follows for testing.It is working fine.
...column name="CONTNT_TEXT" data-type="CLOB" is-url="yes" value="file:///default/main/manual_content/cml/clio/WORKAREA/main/pages/glt_test.html" url-content-encoding="UTF-8"...
I want ot make it dynamic.(i.e If i attach more than one html files to the workflow).
How can i get the html path dynamically and set it to the column.
Please suggest me to resolve the above issue.
TS--6.5
OD--6.1.1
DD--6..1.1
DB2 database.
DD standalone
Thanks in advance.
msr
Find more posts tagged with
Comments
Anujap
Hi,
Whenever you are calling this data deploy config file, pass the dynamically path in command itself and use that passed path in config file.
I am assuming you are calling config file through command.
if yes then use like this:
In config file:
column name="CONTENT_PATH" data-type="VARCHAR2(500)" value ="$contentPath" allows-null="yes" is-url="no"
In command:
/opt/Interwoven/OpenDeployNG/bin/iwodcmd start abc/abc_general_datadeploy -k iwdd=basearea -k contentPath=$contentPath ;
hope so it will resolve u'r prb.
Thanks
Anu
Anujap
In config file:
column name="CONTENT_PATH" data-type="VARCHAR2(500)" value ="$contentPath" allows-null="yes" is-url="no"/>
madhug
Hi,
Use "dbloader" in place of a DNR using this you can do both deployments.
File and database