Move unassigned story to an assignment (for InCopy)

I want to add a stroy to a new assignment with javascript.
I found out how to create an assignment, and how to make a icml and icma document
However it comes in unassigned incopy items, and I can't find a way to place it into my new assignment.
To create an assignment I use:
var myAssignment = myDoc.assignments.add(...);
And to create an icml file I use:
myStory.exportFile(ExportFormat.INCOPY_MARKUP, File(myFileIcml));
Both work, but now I need a way to place the icml into myAssignment. How can this be done?
Thanks!

In my opinion this is one of those rare occasions when functionality available in UI is unavailable to script.
But I think it's possible to workaround this isue like so:
var doc = app.activeDocument;
if (app.selection.length == 0 || app.selection[0].constructor.name != "TextFrame") exit();
var textFrame = app.selection[0];
var assignmentFile = new File("~/Desktop/Test.inca");
var incopyFile = new File("~/Desktop/Test.incx");
var assignment = doc.assignments.add("Test", assignmentFile, {name:"Test"});
var unassignedContent = doc.assignments.item("Unassigned InCopy Content");
textFrame.texts[0].exportFile(ExportFormat.INCOPY_DOCUMENT, incopyFile);
unassignedContent.assignedStories[0].move(LocationOptions.AT_END, assignment);
assignment.update();
P.S. I assume that a single text frame is selected
Kasyan

Similar Messages

  • Data merged text into boxes assigned for InCopy doesn't display merged text, only the placeholder

    I think I found a bug.
    I created an InDesign document for use in InCopy for a client. The end goal is to data merge a whole array of documents for the client, who can open them in InCopy and update the text.
    I designed the layout
    I created the assignments for InCopy (which stories and images the InCopy user could edit)
    I then set up a data merge to pre-populate content like contact details, portrait photos etc
    When I merged the final document, two things happened.
    The images didn't respond to the Content Placement Options (fill proportionally), they all just got placed at 100% size ratio (they did centre though)
    The data merge fields didn't populate the placeholders with the relevant text. All of the fields just came up as their placeholders <<Phone>> <<Fax>> etc
    As soon as I deleted the assignments and re-merged, the image settings were being applied and the fields were populating the documents.
    I'm using the latest version on CC, 10.0.0.70.
    Anyone else had this issue? It's very specific but it is a bug.

    A couple of other users have reported similar problems, and it appears to be a bug when you go from preview to merge. If you undo out of preview, or skip it entirely, before hitting themerge button, does it work?

  • Recall process movement type configuration and account assignment for 671

    Hi Gurus-
    We have a retail recall business scenario.
    1. Create STO from Distribution Center and receive goods with 671 at DC from the store. If the store moving average price is $1.10 and at DC Mov. Avg. Price is $1.00. GL account for Inventory posting at DC is updated with store Mov. Avg. Price and the difference is posted at the Proce Difference account (PRD) account. In other words DC account gets updated with $1.00 and $0.10 is posted in PRD account.
    The problem-
    1. Is there any configuration to configure the movement type or recall document type to post to DC account at Store Retail moving average price ($1.10) without posting the PRD account? If not, any user exit that we can diploy to take the store mov. avg. price ($1.10) at the time of posting against delivery for 671?
    2. Also, if we are able to post the delivery with Store mov. avg. Price, the moving avg price at DC is likely to get updated with $1.10. How we can avoid that? Leave the moving avg. price at $1.00 at DC
    Please help! Reps for sure.
    Thanks!

    Hi Gurus-
    Can someone please shed some light on this?
    Thanks in advance!

  • [CS3]  Custom Data Links for InCopy story

    Hi,
    I want to create custom data links for InCopy story.
    I am retrieving incopy story from the database and importing it on the document. I have created custom data link as shown in the samples but if I open the indesign document in InCopy I get message - no incopy story found - galley and story view are not avaiable.
    Also when I import InCopy file it is also added in Assignment Panel. I want to handle check-in/check-out on my own.
    Is there any special thing for creating InCopy Data Links ?
    Thanks in Advance.
    Anderson

    Hi Norio
    Thanks a lot for your help and your hints.
    Its my first time to solve a problem like this. And I have no idea what I have to do exactly. I mean I see the samples in the SDK, see the properties and so on. And I suppose I have to add my property to kINXScriptManagerBoss. But thats all at the moment.
    I don't know what I have to do exactly. I don't know what elements I have to add. I don't know how I can add a custom defined variable type as a property.
    I have a structure defined for my slugs:
    struct structTabFlowTableModelSlug
       int32 iUIDTableModel;   // ID des Tabellenmodells
       int32 iLinkPASHID;      // Entspricht der ID der Produktion LinkPASHID
       int32 iDtpTableID;     // Entspricht der ID der DTP Tabelle (Tabelle DtpTable)
      void reset() {
         iUIDTableModel = -1;
         iLinkPASHID = -1;
         iDtpTableID = -1;
    typedef structTabFlowTableModelSlug stTabFlowTableModelSlug;
    And I think I have to add this structure as a property. But does this work? How?
    In my plugin the slugs are added to a ITableModel interface. So I suppose I have to add the property to this scripting element. But I am not sure.
    Its a bit tricky for me to implement this.
    But anyway, thanks for your help.
    Regards
    Hans

  • Account assignment for movement type 221

    Hi,
    Instead of using account suggested by GBB-VBR for movement type 221 we want to use account entered by user in transaction as an offset to inventory account.
    However SAP keeps on hitting account determined automatically (from GBB-VBR) and ignores account entered by user in transaction. In fact account entered by user in transaction is getting replaced by GBB--VBR and is also not available in any table (MSEG etc)
    I have already checked - checkbox "Check account assignment" that states preference to user entered account in transaction, in movement type -- account grouping config but for no use.
    Please help
    Thanks,
    Ashutosh
    Edited by: Ashutosh_x on Apr 6, 2010 7:22 PM
    Edited by: Ashutosh_x on Apr 6, 2010 7:23 PM
    Edited by: Ashutosh_x on Apr 6, 2010 7:25 PM

    In OBYC for Transaction GBB,  instead of BSX,  maintain BSA, VAX & VAY for each Valuation Class of material and its respective G/L Account.
    For example, if you are trying for a FERT material, then the entries should be
    0001::::BSA:::::7920::::::4XXX30
    0001:::VAX:::::7920:::::::5XXX30
    0001:::VAY:::::7920:::::::6XXX30
    Also check in OMJJ whether you have the settings as follows:-
    MvT::S::Val.Upd:::Qty.upd:::Mvt::Cns:::Val.stng:::Cn:::TEKey:::Acc mod:::Check acct.
    561::::::::::::X::::::::::::::::::::::::::::::::::::::::::::WA01:::::2:::::GBB:::::::BSA::::::::::::::::X
    561::::::::::::X::::::::::::::::::::::::::::::::::::::::::::WA01:::::3:::::PRD::::::::PRA:::::::::
    561::::::::::::X::::::::::::X:::::::::::::::::::::::::::::WA01::::::2::::GBB:::::::BSA:::::::::::::::::X
    561::::::::::::X::::::::::::X:::::::::::::::::::::::::::::WA01::::::3:::::PRD:::::::PRA:::::::::
    Check whether your settings are similar to above.
    thanks
    G. Lakshmipathi

  • Define Number Assignment for Goods Receipt/Issue Slips

    Hi Experts,
    please can you help in the creation of manual creation of transport request for the customizing activity "Define Number Assignment for Goods Receipt/Issue Slips": settings for assigning goods receipt/issue slip numbers upon goods movements (MM) or deliveries (LE-SHP)?
    Customizing for this functionality is composed by the following points:
    1. functionality activation at plant level
    2. number range group/interval code assignment
    3. Groups and intervals creation
    4. Plant / Storage Location / Movement type combination assignment to number range group.
    Customizing request is automatically created for points 1, 2, 4, but NOT for point 3 where you have to create Groups, Intervas and assing each others.
    You receive a message from SAP that you have to insert the relevant object manually into transport request.
    Please can you tell me exactly what I have to put into transport request as object:
    - Program ID     (I think R3TR)
    - Object Type
    - Object name
    and any other relevant information with all the details.
    Thank you very much
    Kind Regards
    Andrea.

    Hi
    You need to create the transport request by selecting the required number & clicking on the trnsaport icon, then a prompt for transport request will be displayed, there you can create the request & move it to production.
    Reward points if usefu;
    Thanks & Rgards
    Kishore

  • Field selection for movement type 601 account 894025 differs for cutomer

    While posting goods after saving delivery merror message
    Field selection for movement type 601/aact 894025 differs for customer goods movement
    I tried OMJJ>Mvtmt Type>601>Field selection enjoy>601  KONTO  Optional field
    Now this is only happening in the cases where I have assigned free goods Inclusive 10MT. If the order is less than 10MT (that is if no free goods attached) posting is accepted & billing & account determination is processed successfully.
    I am unable to identify the reason though I have worked a lot on MM/Fico on the system.
    Please provide your valued inputs why this is happening?
    Thanks for your time.
    Rajiv

    Hi Raja,
    Thanks for prompt reply.
    I shall appreciate if you elaborate how to check
    check the Field selection goup in control tab for that GL 
    I tried OBC$--> (Is this correct?)
    I checked cost center field G004 -->Addl Act assignemtn -->Cost center which is Optional entry. Should I check any other items on the screen as I am unable to understand which field is applicable on a/c field.
    Profit center, cost object are  in G004 as supressed field.
    So should I make optional? So thing will work.
    Other Q should I also consider G025 Inventory adjustment account? As per error this a/c is not shown. So pl advise me steps or heading which I should consider.
    Thanks for yr time.
    Rajiv

  • Account assignment for Movt type 101 and 501

    All SAP Gurus,
    We want to do the account assignment for movt types 101, 102, 122, 123, 201, 202, 261, 262 accourding to the movement types.
    We are aware that the Transaction Key is 'GBB'.
    But how to know that which 'General Modification' is used for which movement types.
    (in short where we can find this link between movement types and Transaction Key and 'General Modification')
    Regards,

    To know this first you have to know what does the different general modifications means for GBB:
    AUA: for order settlement
    AUF: for goods receipts for orders (without account assignment)
    and for order settlement if AUA is not maintained
    AUI: Subsequent adjustment of actual price from cost center directly
    to material (with account assignment)
    BSA: for initial entry of stock balances
    INV: for expenditure/income from inventory differences
    VAX: for goods issues for sales orders without
    account assignment object (the account is not a cost element)
    VAY: for goods issues for sales orders with
    account assignment object (account is a cost element)
    VBO: for consumption from stock of material provided to vendor
    VBR: for internal goods issues (for example, for cost center)
    VKA: for sales order account assignment
    (for example, for individual purchase order)
    VKP: for project account assignment (for example, for individual PO)
    VNG: for scrapping/destruction
    VQP: for sample withdrawals without account assignment
    VQY: for sample withdrawals with account assignment
    ZOB: for goods receipts without purchase orders (mvt type 501)
    ZOF: for goods receipts without production orders
    (mvt types 521 and 531)
    You can also define your own account groupings. If you intend to post goods issues for cost centers (mvt type 201) and goods issues for orders (mvt type 261) to separate consumption accounts, you can assign the account grouping ZZZ to movement type 201 and account grouping YYY to movement type 261
    Then go and check OMWN.
    Regards,
    Indranil

  • Package for InCopy and Email

    I am having trouble with "Package for InCopy and Email" in CS6 on a Mac 10.6.8. My default email is Outlook 2011. I get a blank message window when I try use this option. I end up manually creating the assignment and emailing it. But I would prefer for the email window to open with the package automatically attached. It started happening when I upgraded to CS5.5 and also upgraded from Entourage to Outlook email app. Any thoughts to resolve this issue?

    Adobe didn’t say anything, I did. And I didn’t say it was Microsoft, I said it sounded like an issue with the email program.
    Where does that leave you? Looking for the cause.
    Does any other program cause this? Do you have Acrobat installed? Try to attach a PDF to an email and see if it works.
    Bob

  • Error - GL account has not been assigned for CLEAR in customization

    Hi
    We are working on ECC 6.0.
    When we try to create Excise Invoice through J1IS for Ref doc Type MATD for Material Doc of 122 Movement Type we are getting the following error -  "GL account has not been assigned for CLEAR in customisation"
    Can anyone help that for which Excise Transaction Type (ETT), the GL account has to be assigned under GL Accounts per Excise Transaction.
    Regards
    Kapil

    Hi,
    Maintain the ETT for CIEV - CANCELLATION OF EXCISE INVOICE in following customizing
    IMG > Logistics - General > Tax on Goods Movements > India > Account Determination > Specify G/L Accounts per Excise Transaction
    Regards,
    Jigar

  • Assignments for InCopy don't include fonts?

    I am uncertain how InDesign and InCopy are handling fonts. After reading on Adobe.com about InCopy, I thought that using InDesign to send an assignment (an icap-file) via email, it would include all needed files (including fonts), because according to Adobe, the receiver has to worry about nothing, he opens the assignment in InCopy, fonts load automaticaly, all done. But after downloading the demo, some testing and searching on the internet for more information, it seems I was wrong and the receiver must have all needed fonts already installed on his computer or keep them in a "document fonts" folder right next to the icap-file. Is it not possible to include the needed fonts in the icap-file or am I doing it wrong? Is there a box somewhere that needs to be checked for the fonts to be included in the icap-file?
    Thanks for any help.

    No. It doesn’t work that way.
    Everyone in this workflow needs to have the same fonts installed.
    Bob

  • Problems packaging assignments for incopy

    After the recent updates I can't seem able to package the assignments for inCopy anymore.
    Any clue?
    If I right click on the assignment all I get is "open package" or "add to assignment" but the option "package for inCopy" has disappeared

    No. It doesn’t work that way.
    Everyone in this workflow needs to have the same fonts installed.
    Bob

  • How to find maximum number of users we can assign for Hyperion Planning.

    HI,
    How to find maximum number of users we can assign for Hyperion Planning.i.e., how to find license limit in hyperion planning 11.1.2.1.
    In Essbase propreties, the system is showing maximum planning users could be 65535.
    what would be the number for concurrent scenario?
    Thanks
    Giri
    Edited by: Giriprasad on Jun 18, 2012 2:18 AM

    The number of users would be based on your license agreement with Oracle, the system is not aware of your license agreement so it is up to you to stick to it.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • I purchased a movie on apple tv (via itunes, I assume...). I clicked "download available purchases" on my pc, but it's not showing up. I don't have enought space on icloud to store the movie and I refuse to pay for more storage. Any ideas?

    I purchased a movie on apple tv. I then went to my pc and clicked "check for available downloads", but the movie is not there. I don't have enough storage to put the movie on icloud, and i refuse to pay for more storage to move something that i already paid for. any suggestions?

    It looks like the answer is to log out of iTunes and then back in.  That allowed Rentals to show up in my Movies Library.  I rebooted about three times which didn't work.  I closed the application and restarted it many times which didn't work.
    The solution was to log out of my username and then back in.  That worked.
    iTunes Bug.

  • How to edit JVC/Panasonic/Canon .mod video in Windows Movie Maker then upload to YouTube for sharing

    Quick View:
    Part 1: How to import .mod video to Windows Movie Maker
    Part 2: How to edit the video with Windows Movie Maker
    Part 3: How to upload your video to YouTube
    Know More:
    1. Which Camcorders record video in .MOD type?
    2. What file types are supported by Windows Movie Maker?
    3. What file types are supported by YouTube? 
    Part 1: How to import .mod video to Windows Movie Maker
    Step 1: Load files
    First copy the MOD file from your video camera to your hard drive, then download, install and run MOD Converter, click the "Add Files" button to browse your computer hard disc and load the MOD/TOD video files you want to convert to the program. 
    Step 2: Output Setting
    In the bottom of the main interface, select an output format supported by Windows Movie Maker for each video file and specify a directory on your computer to save the output files. 
    Step 3: Start convert
    Click "Start" button on right bottom of the main interface, you are allowed to start conversion. 
    Step 4: Import converted video to Windows Movie Maker
    Click on "File". Then click on "Import". A window will appear. In the window, navigate to the video clip you converted just now. Then double click on the file. You'll see the icon for the file in your Windows Movie Maker "Collections". 
    Part 2: How to edit the video with Windows Movie Maker
    Step 1: Add transitions and special effects
    In the Movie Tasks pane, under Edit Movie, click View video transitions. 
     Preview transitions by double-clicking them and watching the Preview Monitor. Once you've found a transition you like, drag it from the Video Transitions pane, under Edit Movie pane to the box between two of your clips. This inserts the transition between the two clips. 
    Step 2: Add titles and credits
    If you want to add a title before, after, or on top of a clip, click the clip on the storyboard or timeline.
    In the Movie Tasks pane, under Edit Movie, click Make titles or credits. 
    Step 3: Add Music
    In the Movie Tasks pane in Movie Maker, under Capture Video, click Import audio or music. 
     In the Import File dialog box, click the name of the song you want to use in the background. Then click Import. This adds your song to your collection but does not add it to your video. Drag the song from the collection to the video clip where you want the music to start playing. 
    Step 4: Add narration
    If you have a desktop computer, connect a microphone. Microphones are available from most electronics stores. If you have a portable computer, you can use the built-in microphone. However, you will get a better-quality recording if you connect an external microphone. In Movie Maker, click the Tools menu, and then click Narrate Timeline. On the timeline, click the clip you want to narrate. You can narrate clips one at a time, or you can narrate the entire movie all at once. If you narrate individual clips, you can rearrange them later and keep your narration synchronized. If the narration is too loud or too soft in comparison to the movie, right-click the narration on your timeline, and then click Volume. 
    Step 5: To save your movie to your computer
    In the Movie Tasks pane, under Finish Movie, click Save to my computer. 
     The Save Movie Wizard appears. On the Save Movie File page, type a name for your movie. You can also choose a folder to save it in by clicking the Browse button, but My Videos (the default) is usually the best place to save your movie. Then click Next. On the Movie Setting page, click Next to accept the default setting of Best quality for playback on my computer.
    Movie Maker saves your movie, which might take several minutes. On the Completing the Save Movie Wizard page, click Finish. If Play movie when I click Finish was selected (it is selected by default), the movie will automatically play in Windows Media Player. Now you can watch your videos anytime by opening your My Videos folder and double-clicking your movie. 
    Part 3: How to upload my video to YouTube
    A video file should meet the following requirements so that it can be uploaded to YouTube site.
    1. In an acceptable format: WMV, MPEG4, MOV, AVI and MPEG.
    2. Video length is shorter 10 minutes.
    3. File size is smaller than 1GB. 
    Step 1: Sign up a YouTube account or Gmail account, then click the Upload button on any YouTube web page. See the figure below: 
    Step 2: Type in the information of your video file, including Title, Description, Category and tags. To increase the chances that your video can be easily found, you should put as much information as possible. 
    Step 3: Set this video to be public or private. 
    Step 4: Click the "Upload a video" button. When you see the next window, click the "Browse" button to select the video file you want to upload. Then click the "Upload Video" button to upload it. After the upload is finished, you will see the completion page. See the figure below: 
    Step 5: Click "My Videos" and you will see the video. 
    Know More:
    1. Which Camcorders record video in .MOD type?
    MOD is the video file type used on many digital camcorders, such as the JVC Everio, the Canon FS100 and the Panasonic D-Snap SD-card camcorders. Accompanying the MOD video file, there exists MOI file that stands for the index file for MOD. 
    2. What file types are supported by Windows Movie Maker?
    You can import files with the following file name extensions into Windows Movie Maker to use in your project:
    Video files: .avi, .wmv, .mpeg, .mpg., .asf, m1v, .mp2, .mp2v, .mpe, , .mpv2, and .wm.
    Audio files: .mp3, .wav, wma, .mp2, .aiff, .aif, .aifc,.asf, .au,.mpa, and .snd.
    Picture files:.jpeg, .jpg, .jpe, .png, .bmp, .dib, .emf, .gif, .jfif,.tif, .tiff, and .wmf 
    3. What file types are supported by YouTube?
    YouTube accepts a wide range of video file formats.The video files below are all accepted by YouTube. Some video formats work best and are most compatible with certain computers, software or devices. Windows Media Video (.WMV)
    .3GP (cell phones)
    .AVI (windows)
    .MOV (mac)
    .MP4 (ipod/psp)
    .MPEG
    .FLV (adobe flash)
    .SWF (shockwave flash)v
    .MKV (h.264) If you do not think your current video file format is recognized by YouTube, you may get the best uploading results from converting your file to MPEG4 video with MP3 audio.

    I prefer this
    iPad Manager software, with the assistance of iPad Manager, you can make iPhone ringtone, connect your PC to iPad to backup iPad files to Computer directly, import computer file or folder to iPad. 
    Furthermore, it's easy to convert DVD/video to iPad. 
    This versatile iPad Manager can help you transfer videos, songs, photos from computer to iPad and from iPad to PC in fastest speed. Have a try with this tool and manage your iPad, iPod, iPhone in a much easier way. 
    * Convert DVD/video to iPad
    * Backup iPad files to PC
    * Import computer file or folder to iPad 
    iPod Manager
    iPod Video Converter
    DVD to iPhone Converter
    iPod Mate

Maybe you are looking for

  • How to check whether a file is present in the UNIX directory of app. server

    Hi,         I am creating files in the UNIX directory in the application server using :                    CONCATENATE '/sapmnt/RD1/interfaces/client670/'                    p_fname '.CSV' INTO w_filename.            OPEN DATASET w_filename FOR OUTPU

  • How do I add a keyboard shortcut to remove formatting?

    I want to be able to copy a text (⌘C) and then, before pasting it (⌘V), be able to remove the formatting of the text by using another combination (for example ctrlC) The question is, how do I make my Mac do that? Thanks!

  • Field Exit for Batch Input creation from LSMW

    Hi all, I am having problems getting a field exit to work for validation of user id in the "Create Batch Input Session" step of LSMW. Program: /SAPDMC/SAP_LSMW_BI_RECORDING Screen:  1000 Data Element: SYUNAME Any help would be appreciated. Regards, J

  • Empty CSV exports of data from interactive reports.

    Currently using version 4.2.1.00.08 of APEX. My application has interactive reports; when I try to export data to CSV file, it is empty. Tried HTML, that just has the control widget for the report. I could swear this used to work. Thanks for any help

  • Collaboration launch pad inot seen

    I am not able to see the Collaboration Launch Pad. I have performed the steps given in;http://help.sap.com/saphelp_nw04/helpdata/en/0a/e070403590ca01e10000000a155106/frameset.htm 1.      In the portal, choose Content Administration ® Collaboration Co