Copy link to clipboard
Copied
When i tried to export page itemes to icml file on specified location without any UI intraction. The page item could not linked with icml file. I am doing following steps
1. Creating an assignment by IAssignmentMgr and export an icma file in specified location(hard coded).
2. Adding assignment.
3. Exporting the assignment on specified location without any UI interface.
The icml file genereated successfully but file is not linked with page itemes.
But when i tried to do this through command kAssignDocCmdBoss
1. Create an assginmnet. Assignment is created successfully.
2. Assigns the selected stories to the specified assignment bu using IAssignmentSelectionSuite.
3. Threre is a dialog appear to choose the location for icml file, choosing the location and icml file generated successfully and all likage are worked properly.
But i want to generate an icml file without any dialog for choosing location and linked selected stories to the specified icml file.
Please help me.
Thanks
Prashnat
In order to add a story an Assignment, you need to make sure that the story is an Incopy story. So first you need to export your story as an Incopy story. Once that is done you can use a command to add it to the assignment using the IAssignmentUIUtils or the IAssignmentMgr.
To export a story as an incopy story you can use export provider service and query for the class "kInCopyStoryExportBoss". Then you can use the exportToFile method to export the story, in this method you can specify the destin
...Copy link to clipboard
Copied
In order to add a story an Assignment, you need to make sure that the story is an Incopy story. So first you need to export your story as an Incopy story. Once that is done you can use a command to add it to the assignment using the IAssignmentUIUtils or the IAssignmentMgr.
To export a story as an incopy story you can use export provider service and query for the class "kInCopyStoryExportBoss". Then you can use the exportToFile method to export the story, in this method you can specify the destination path of the file. This won't require any user interaction.
Manan Joshi
www.metadesignsolutions.com
Copy link to clipboard
Copied
Thank you for your email. I am out of the office and will return on Monday, September 5. If your message requires a reply, I will respond when I return.
For immediate needs, please contact Mr. Robert Motzke rm@censhare.de
Peter Schülke
Senior Software Developer
censhare AG
Paul-Gerhardt-Allee 50
81245 München
Germany
Mandatory Information
http://www.censhare.com/pflichtangaben
Copy link to clipboard
Copied
Thank you !
It is working.
With Regards
Prashant Kumar
Copy link to clipboard
Copied
Thank you for your email. I am out of the office and will return on Monday, September 5. If your message requires a reply, I will respond when I return.
For immediate needs, please contact Mr. Robert Motzke rm@censhare.de
Peter Schülke
Senior Software Developer
censhare AG
Paul-Gerhardt-Allee 50
81245 München
Germany
Mandatory Information
http://www.censhare.com/pflichtangaben
Find more inspiration, events, and resources on the new Adobe Community
Explore Now