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)
DCR and HTML Submit?
jimk351c
Is there an out of the box workflow in 6.1 that when submitting an HTML file, will also submit the DCR associated with it?
Thanks,
Jim
Jim Karamanis
Senior IT Specialist, The Library Of Congress
jika@loc.gov
Find more posts tagged with
Comments
Migrateduser
I don't think so, but this is very straight-forward to do. You could have an external task and by calling iwextattr to figure out what DCR your file is based on, just call iwaddtaskfile to add that file to your task.
Dave
Current Environment(s):
(1) TS 6.5 on W2K3
(2) TS 6.1 SP1 on W2K3
By the way, I miss Unix terribly.
jimk351c
Dave,
Which of the canned submit workflows would you recommend adding this to?
Thanks.
Jim Karamanis
Senior IT Specialist, The Library Of Congress
jika@loc.gov
Migrateduser
Well, I guess you could use external_task_test.wft as a base. If you're just looking to create a basic workflow with an external task and perhaps a little more functionality, it's good to know how to do these things from scratch. For reading, I'd recommend the workflow documentation as well as some of the articles from the Tech Library.
Dave
Current Environment(s):
(1) TS 6.5 on W2K3
(2) TS 6.1 SP1 on W2K3
By the way, I miss Unix terribly.
jimk351c
Dave,
I have written a few custom external tasks, but I haven't yet authored a workflow that submits. I'll check out the documentation.
Thanks!
Jim Karamanis
Senior IT Specialist, The Library Of Congress
jika@loc.gov
Migrateduser
If you're just looking to submit the file(s) to staging, you'll be interested in a "submittask." Otherwise, if you're interested in actually deploying the files to another environment, you might be interested in OpenDeploy or another transactional FTP-type product.
Dave
Current Environment(s):
(1) TS 6.5 on W2K3
(2) TS 6.1 SP1 on W2K3
By the way, I miss Unix terribly.
jimk351c
I have a separate "deploy" workflow that my users will run to deploy the files with OpenDeploy from STAGING to the production server. Looking into submittask now to get the DCRs to staging.
Jim Karamanis
Senior IT Specialist, The Library Of Congress
jika@loc.gov
jimk351c
Well, I ended up doing it slightly differently. Instead of an external task, I wrote an intelligent workflow that iterates through all the files being submitted, checks to see if any DCRs are related. And, if it finds any related DCRs, pushes them into an array that I submit.
Thanks for your help, Dave.
Jim Karamanis
Senior IT Specialist, The Library Of Congress
jika@loc.gov