We have object which have multiple content with same format. Single object with multiple Tiff images set with pageNumber =0 , pageNumber=1 , pageNumber=2.... etc. These were created using a custom DFC document loader.
When the document is exported out of webtop (6.5 sp2 on windows) it only exports the content at pageNumber 0. We would like to export all the contents.
I have started by extending the UCFExportcomponent. The idea being I can somehow modify the the component parameters and not write a competely new component/ extension of UCF.
public class MultiExportUcfContainer extends UcfExportContainer {
public void onInit(ArgumentList args)
{
//copy over the existing args to a new args array
String strComponentArgs[] = args.getValues("componentArgs");
String strComponentArgsNew[] = new String[strComponentArgs.length+1];
int k=0;
for ( k=0;k<strComponentArgs.length;k++)
{
strComponentArgsNew[k]=strComponentArgs[k];
}
//here I am adding a new object to the export list
// This one is default without pagenumber
//strComponentArgsNew[strComponentArgs.length]="assembledFromId~0000000000000000|isReference~0|objectId~0900c726801a6d65|contentSize~43|contentType~crtext|type~dm_document|component~export";
//Here I tried addng pagenumber at the end
strComponentArgsNew[strComponentArgs.length]="assembledFromId~0000000000000000|isReference~0|objectId~0900c7268010813a|contentSize~369847|contentType~tiff|type~dpw_grading_plan|component~export|pageNumber~5";
args.remove("componentArgs");
args.add("componentArgs", strComponentArgsNew);
super.onInit(args);
}
This works and the additional object is exported. However it is ignoring the PageNumber value. Should I be passing a different parameter.
Maybe there ia a better way of doing this and I am open to it but have spent some time on this so also interested in trying to get this working.
Is there a out of box configuration or a different documentum viewer which might work? like wdk,taskspace etc..
Thank you for taking time to read this. Appreciate any response.
Thanks,
Ravi