Create folio and add content to it using CIS 11g

Hello,
How should I create a folio and add content to it using CIS 11g? tried following code but it fails with error code
Caused By: intradoc.data.DataException: !csGetFileNeedsParameter,Latest
ISCSAdministrativeAPI adminAPI =
application.getUCPMAPI().getActiveAPI().getAdministrativeAPI();
Map arguments = new HashMap();
arguments.put("NumChanges", "1");
arguments.put("change0", "1607:addContent:1F93-3807-DFB3-4BDF-8F63");
arguments.put("RevisionSelectionMethod", "Latest");
arguments.put("change_data0", "dID:410");
ISCSServerResponse serverResp =
adminAPI.executeIDCService(context, "UPDATE_FOLIO", arguments);
Any help is appreciated. Thanks.

If you only use dID, you need to use: putLocal("RevisionSelectionMethod", "Specific")
I never got this working with strictly dID. Once I fed it dDocName and then used the below it got rid of the error:
putLocal("RevisionSelectionMethod", "Latest")
Good luck!

Similar Messages

  • How to create a text file or XML file  and add content through  code into it...

    Hi Everyone,
    How to create a text file and add content through the code to the text file eform javascript ......orelse can we create a text file in life cycle designer...
    Else say how to create a new XML file through the code and how some content like Example "Hello World".

    You can create a text file as a file attachment (data object) using the doc.createDataObject and doc.setDataObjectContents:
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.450.html
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.528.html
    You can then export the file with the doc.exportDataObject method:
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.463.html
    This won't work with Reader if it hasn't been given the file attachment usage right with LiveCycle Reader Extensions.

  • How to handle the word document which is already opened(Add content to it) using VbScript using "Word.Application" method

    Hello,
    I want to add some content to the word document which is opened already and active using vbscript.
    Here is the sample code to have an idea.Kindly Help.
    Set oWord = CreateObject("Word.Application")
    oWord.Documents.Open
    "c:\test.docx" ----->Here i dont want to open the Document as such as my document which is opened already,i have get the control over that document-I try to achive this by using HP UFT tool for word document automation
    oWord.Selection.EndKey
    6,0
    oWord.Selection.TypeText
    " This text has been entered by opening the exisitng document. "
    oWord.ActiveDocument.Save
    oWord.Quit
    Set oWord = Nothing

    Hello,
    Nice to see the Reply from you. I have done the same thing what you have suggested but unfortunately i am not achieving the result as expected.
    Here i explain you clearly,
    Business Scenario:
    Using an aplication we will create word documents-To do this we need to fill all the document properties and click on OK button-After this,Application automatically launches a Word Document with the File name given by itself as per the Configuration and
    it will be available for the Editing-After user add content,he has to check in the document in the application in order to replicate the changes made by user to the document-This is the Business process
    Here my Document actually resides in the Users Folder-"C:\Users\narayanasamy_r\Documentum\Checkout\" before checkin event happened,once i add content,save,close the document,i will navigate to the document in the application  and Do check-in
    operation.
    Interesting point is that,after i do check-in operation my actual document which was resided in "C:\Users\narayanasamy_r\Documentum\Checkout\" will not be available anymore
    So My logic Should be,
    1.identify that particular Document from the Folder and add content,save and close(Note:i dont want to open the document from "word.application" control here, as the application itself opens up the Document)
    Kindly Help On the same.
    Thanks,
    Narayan

  • Insert a table and add content

    This question was posted in response to the following article: http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7d9fa.h tml

    hi nancy thanks for your response, i will definitely try this tactic for next time, but for now i have all these pages that are straight up images that i wish to add a form to, and i dont really want to start all over.  is there a simple way of doing this with out my slices all moving around or some other way to pop a form on top of an image that wont allow that image to move around cindy
    Date: Wed, 28 Mar 2012 14:13:29 -0600
    From: [email protected]
    To: [email protected]
    Subject: Insert a table and add content
        Re:  Insert a table and add content
        created by Nancy O. in Dreamweaver - View the full discussion
    Graphics apps generate rigid, mostly unstable HTML code.  OK for quick comps but not ideal for real websites. For best results, use graphic apps for images only.  Use DW to create your web pages.  Strat here: Taking a Fireworks design comp to a CSS Layout in DW Part 1 - Initial Designhttp://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt1.html Part 2 - Markup preparationhttp://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt2.html Part 3 - Layout and CSShttp://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt3.html Nancy O.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4298249#4298249
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4298249#4298249. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Script to Create User and Add profiles

    Instead of using the ODI 10g GUI Console to create users and add them to a profile, Can this task be achieved by scripting ? Either by wlst or JMX or Java Packages ? Please advise and guide me.
    -Thanks,

    Is there any other way for adding Bulk users and assigning them to a profile? Any thoughts Please
    Versions: 10.1.3.5 and 10.1.3.6

  • How to Create, Edit, and delet Alerts in sharepoint using COM or REST API

    I need to create,Delete and  Alerts using Client object model or REST API , I know It's available on server objetc model , but in client side how do it , 
    Anu ideas 

    Hi,
    According to your description, my understanding is that you want to create, delete and edit SharePoint alerts using Client Object Model or Rest API.
    In SharePoint Client Object Model, there is very little that you can achieve when it comes to alerts.
    For changing alerts, there is a ChangeAlert class:
    change alert class
    For Deleting alerts, you can call deletealert web service:
    DeleteAlerts
    For creating new alerts, it seems no such API support this, a workaround is call the new alert form "SubNew.aspx" using JavaScript to achieve it.
    More information:
    http://www.learningsharepoint.com/2013/09/17/client-object-model-doesnt-support-creating-sharepoint-2013-alerts/
    Thanks
    Best Regards,
    Jerry Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Create duplicate and add to current album

    If I'm browsing an album, and hit ⌘D to make a duplicate of a photo, the duplicate is added to the library. But it isn't added to the album I had been browsing in. I have to go find it in the Library and add it to the album manually. This is annoying. Is there any way to have the duplicate automatically added to the album I had been browsing in?

    Control-click on the photo in the Album and select Show Event. The Event will be displayed with the photo where you can duplicate the photo and it will be in the event with the original version.
    OT

  • Create User and Add to Group in a single call using ActiveADAPTER

    Hi Folks, I can successfully create a user in a specific OU and I can subsequently add the user to a Group within another OU using two sequential calls with ActiveADAPTER's one-way send functionality.  Has anyone successfully done this in a single call
    or am I limited because that would require two Directives statements?
    Thanks!

    Some thoughts:
    Operations against AD are single action natively, because LDAP is I'd assume.  The adapter likely follows that pattern.
    Support for multiple operations would be noticable in the schemas either by a high level repeating structure or something like composite operations.
    What does their support say? 
    [email protected]

  • I have Lion and I have an iPad.  The contacts on the two machines are not properly linked using iCloud (I can create groups and add names, but sometimes the names are not updated between the machines)

    The problem I am seeing is that there are contacts on the iPad that are not showing up on the Mac

    On the iPad, look in contacts and see if you have more than one group.  If it says "all contacts" on the top and there is no red slash to chose lists, then you have just one group.  If you see the slash and can choose contact groups, then obviously you have more than one.  You probably have a mail account on the iPad setup for contacts and iCloud also setup for contacts.
    Go to that mail account on your computer and export those contacts to a vCard file, and import that to iCloud contacts (using the web interface for each).  Now with one list, turn contacts off for that account on your iPad so you don't see duplicates.

  • How to duplicate a target and add resources in xcode using command line?

    I am trying to use command line tools to create, add resources, build, archive and export to ipa in xcode. I could do the Build, Archive and Exporting to IPA through the command line tools(xcodebuild). But I also wanted to duplicate the target in the same project,add a new Info.plist to the duplicated target resource through command line itself. How to do it? I could not find any valuable answers by Googling. I could not find any proper documentation also in Apple Sites.
    Is there any tools that can be used to perform these? I don't want to use the UI. Please, help me out.

    The Mac App Store is not appropriate for command line tools. You can use any language you want.

  • How to get parameter and add it to hyperlink using struts tag?

    Hi everyone:
    There is a.jsp pass a parameter to b.jsp.How to get the parameter in b.jsp using struts Tag?I also want to add the parameter to a hyperlink in b.jsp.For example in b.jsp <html:link forward=.....>cxxxx</html:link>.How to add the parameter(get from a.jsp) to cXXXX in b.jsp?

    Try this:
    Copy A Request Parameter - You can create a new bean containing the value of a parameter included in this request. If no parameter of the specified name was included, a request time exception will be thrown - therefore, it is common to nest the use of this tag inside a <logic:present parameter="xxx"> tag to ensure that the parameter was really included. If there is the possibility that more than one parameter of the same name was included, specify the "multiple" attribute (and the resulting value bean will be an array of String values, instead of a single String).
    <bean:parameter id="name" name="name"/>
    And then just use <html:link> with paramId. No java code at all.

  • Create shortcut and add application to Dock after install

    Hello everybody, I've developped a Qt application with Xcode. It works correctly and I've created a setup that installs the application and other files. But I've not able to create a shotcut on the desktop nether to add my application to finder by default. Also, I want to give it an specific icon.
    Can anyone help me to all this :
    1) Create a shortcut of the application after install
    2) Add the application to the Finder and Dock
    3) Give to my application a specific icon
    I'm using Xcode.
    Thank you very much. Best regards.

    HI
    i have developed small application on iphone simulator,i want to create setup file to install how u have created installer please send me instruction or document to create the set up file thanks in advance
    my mail -id: [email protected]

  • OLE - Creating header and footer in Word document using abap

    Hi All,
    I'm using OLE to create a WORD document from abap.
    I need to insert a logo in the header and a footer text.
    Does any one know how to insert a header/footer with abap ole ?
    I tried to insert the logo as picture with:
    call method of o_inlineshapes 'AddPicture' = o_logo
      exporting
      #1 = 'C:\logo3.jpg'.
    but I can't put it in the place I want..
    thanks,
    Michal

    call method of LOBJ_MS_WORD 'ActiveWindow' = w_activewindow.
    call method of lobj_activewindow 'ActivePane' = w_activepane.
    call method of lobj_activepane 'View' = w_activeview.
    SET PROPERTY OF w_activeview 'SeekView' = '9'.   " header view.
    " This will set the view to the header view. Whatever you write here
    will go to the header.
    Get PROPERTY OF lobj_ms_word 'Selection' = w_selection.
    CALL METHOD OF w_selection 'TypeText'exporting
      #1 = 'Rahul Anand'.
    "Now set the view again to the main doc view.
       SET PROPERTY OF w_activeview 'SeekView' = '0'.
    " Now write your main doc code .
    " For footer the view is '10'.
    call method of LOBJ_MS_WORD 'ActiveWindow' = w_activewindow.
    call method of lobj_activewindow 'ActivePane' = w_activepane.
    call method of lobj_activepane 'View' = w_activeview.
    SET PROPERTY OF w_activeview 'SeekView' = '9'.   " header view.
    " This will set the view to the header view. Whatever you write here
    will go to the header.
    Get PROPERTY OF lobj_ms_word 'Selection' = w_selection.
    CALL METHOD OF w_selection 'TypeText'exporting
      #1 = 'Rahul Anand'.
    "Now set the view again to the main doc view.
       SET PROPERTY OF w_activeview 'SeekView' = '0'.
    " Now write your main doc code .
    " For footer the view is '10'.

  • When I convert a trailer to a project and add content, how can I get the music track to repeat longer

    Hey fellow Apple Geniuses - I just got the latest iMovie11 so excited for the new trailer feature, only to discover that these teenie weenie movie trailers are not near long enough for my taste, however I do like the cool transitions and layouts, so I discovered that I can convert the trailer to a project and then add more content, which I am doing right now. I need help though with the audio track... Does anyone know the secret to getting the 43 second music track to repeat, since this particular track (Friendship2) is not showing as an option in my iTunes/iMovie licensed audio to be able to keep dragging more into the movie? Thanks a million!

    Hey Tom - Thanks a million truly! Just did what you said and it worked so smoothly! Totally cool! This was the last piece to finish the movie. I appreciate and value your quick response! Happy camper here!

  • How to get the name of a duplicated control or created control and add a callback to it

    Hi All,
    Depending on how many input points I need, I am duplicating a numeric or string input with the DuplicateCtrl function. My question is, how do I get the name and id of the control that was just created, and how can i assign a callback to it? Alternately, would it be better to create a fresh ctrl instead of duplicating?
    Thanks in advance!
    Solved!
    Go to Solution.

    Hi TurboMetrologist,
    why are you trying to get the control constant name? Keep in mind that you cannot use that name to address the control; control names are actually simply macros in the include file associated to the UIR, that is, the compiler preprocesses the code and wherever it finds PANEL_CONTROL names substitutes the corresponding numeric value as parameters to the functions (and consequently 'control' parameter is an int and not a char*)
    That is why NewCtrl () or DuplicateCtrl () functions return a control ID: it is the handle to the new object, our only way to manipulate it. You will need to store this handle into a non-volatile memory so that you can access it durng program life.
    Additionally, there are other ways to assign some particular meaning to a control than swiching on the control constant name. You could for example use the callbackData parameter to differentiate between different copies of a control.
    Let me explain with an example. You told that you need several inputs (dynamically created as you don't know in advance how many of them to use); a clean solution could be to:
    Design a master copy of one control in the UIR editor, where it is easy to customize it; assign also a callback function, if it has to be common to all copies of the control
    Programmatically assign a callbackData value to that control, e.g. SetCtrlAttribute (..., ..., ATTR_CALLBACK_DATA, (void *)1);
    Duplicate the control and then assign a different callbackData
    for (i = 2; i < 5; i++) {
       handle = DuplicateCtrl (...);
       SetCtrlAttribute (..., handle, ATTR_CALLBACK_DATA, (void *)i);
    By operating this way, every time the control callback is fired by any control it will receive the assigned callbackData, and you will be able to differentiate your code by a simple switch:
    switch ((int)callbackData) {
       case 1:    // The master control
          break;
       case 2:    // The first duplicated control
          break;
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

Maybe you are looking for

  • Downloads to watch TV on the internet mac10.4.11

    Downloads to watch TV on the internet mac10.4.11.

  • How to register the an SAP system in SAP Marketplace?

    Hi Experts, I have installed a new sap system. How do I register that in SAP Marketplace? I followed the OSS note 94998. But couldn't get through. I went ot the following path for registering my system: Data Administration >> System Data >> Create Ne

  • Upload in the material master

    hi all, in the material master , plant spec view i need to upload the shelf life fields fields are : min. rem shelf life , tot shelf life , period of sled how to upload this fields along in the materials mater for the existing materials

  • Moving images to a new HD?

    I'm not where I can test it right now, but will shortly need to move about 10k images that were previously imported into LR from one HD to another. Will I be able to just point Lightroom to this new drive where images were moved to (preserving the di

  • File Attachment Problem.

    Hi, I've designed a form with Livecycle which is having a provision to attach a file. I'm able to attach the files to the form using Acrobat. I've extended the rights of the form using Acrobat. But I'm not able to attach the files when opened in Read