Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Linkage problem with assignment

Guest
Aug 02, 2011 Aug 02, 2011

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

TOPICS
SDK
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Sep 01, 2011 Sep 01, 2011

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

...
Translate
Community Expert ,
Sep 01, 2011 Sep 01, 2011

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Sep 01, 2011 Sep 01, 2011

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 01, 2011 Sep 01, 2011

Thank you !

It is working.

With Regards

Prashant Kumar

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Sep 01, 2011 Sep 01, 2011
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines