Skip navigation
Prashant_mds
Currently Being Moderated

Linkage problem with assignment

Aug 2, 2011 2:46 AM

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

 
Replies
  • Currently Being Moderated
    Sep 1, 2011 12:56 AM   in reply to Prashant_mds

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 1, 2011 12:57 AM   in reply to Manan Joshi

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 1, 2011 5:05 AM   in reply to Prashant_mds

    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

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points