Checking in a revision to an existing content item

Using Site Stuido I’m using following code to build a custom screen
<!--$dDocName="D_027263"-->     
<!--$executeService("DOC_INFO_BY_NAME")-->
<h1>WorkTrack - Reports </h1>
<form action="/idc/idcplg" method=GET>
<input type="hidden" id="IdcService"     name="IdcService" value="CHECKIN_SEL">
<input type="hidden" id="dSecurityGroup" name="dSecurityGroup" value="<!--$DOC_INFO.dSecurityGroup-->">          
<input type="hidden" id="dID" name="dID" value="<!--$DOC_INFO.dID-->">     
<input type="hidden" id="dDocAccount" name="dDocAccount" value="<!--$DOC_INFO.dDocAccount-->">          
<input type="hidden" id="dDocAuthor" name="dDocAuthor" value="<!--$DOC_INFO.dDocAuthor-->">     
<input type="hidden" id="dDocName"           name="dDocName" value="<!--$DOC_INFO.dDocName-->">
<input type="hidden" id="dDocTitle"      name="dDocTitle" value="<!--$DOC_INFO.dDocTitle-->">
<!-- <input type="hidden" name="dRevLabel" id="dRevLabel" value="5">
               <input type="hidden" name="doFileCopy" id="doFileCopy" value="1">-->
<input type="file" id="primaryFile" name="primaryFile" maxlength="250">
               <input type=submit name=submit value="Check In">
               </form>
<!--$dDocName="D_027263"-->     
<!--$executeService("CHECKOUT")-->
And when I browse and attach a file and submit Check In, following error is received.
Content Server Request Failed
Content item 'D_027263' was not successfully checked in. The content item must have a primary file.
Can some one please let me know what is the reason for this error.
Thanks,
Srinivas.

shouldn't the method be a POST not a GET? I don't think that will end up being the "whole" problem, but I think it might be contributing to issues...

Similar Messages

  • Webservice to delete all revisions of a content item

    Hi,
    I don't see a webservice that explicitly deletes all revisions of a content item. Do I have to create one?
    Thanks!

    DELETE_DOC
    Service that deletes an existing content item revision. The user must have permission to delete the specified revision. The most likely error is when the content item no longer exists in the system.
    Location: <install_dir>/shared/config/resources/std_services.htm
    Additional Required Service Parameters
         • dID: The generated content item revision ID.
    Example
    IdcService=DELETE_DOC
    dID=48
    I created custom wsdl to make this service available via web service.
    This will delete the document and all its revision.

  • Editing a previously published content item results in no workflow applied

    Hi,
    We have developed numerous workflows, which are configured as default from New menu configurations.
    We are seeing two issues:
    1) Copying an existing content item, the assigned workflow to the New menu is not applied. This is apparently by design in 11g (did work in 7.x) according to Oracle support. We have raised a product enhancement request
    2) Editing a content item which has passed through its workflow stages and has been published, the previously assigned workflow is not assigned.
    Issue 2) is what we are looking into now. Apparently (again) this is by design.
    Is there a common approach that people are using to resolve this issue, in that editing a previously published content item, those changes will be subject to the original workflow stages before it will be re-published?
    We have heard mentioned of listeners or further stages in the workflow...
    Thanks

    then use SPD to customize the task process to lock them out upon starting and give them rights again upon rejection.
    http://office.microsoft.com/en-us/sharepoint-designer-help/use-the-task-process-editor-for-approval-workflows-HA101863538.aspx
    Please mark my response as an answer if appropriate.
    Learn.SharePoint.com
    Hi
    How was this resolved in the end. I to want to disable editing of document whilst workflow in progress. In SPD how is this achieved?
    Thanks

  • Publishing Content Items through API

    Hello,
    I am currently using EDK 5.3 for publishing content items. I have been sucessful in editing an existing content item using APIS. However It looks like APIS doesn't have a way to schedule to publish content items for a future date.
    I tried to do some reverse engineering and found out that this information is stored in pcsscheduledcontent and pcsscheduleitems tables. I was able to figure out how to change the dates as this are stored in pcsscheduleitems table,however can't find out where are the values are being stored for time.
    Say, I want to publish the content item for 08/28/2008 4:00 pm using the APIS, I am able to get to the date from the above 2 tables but really can't find out where the time is stored. I have tested from the User interface that the time is also retained based on the options we pick.
    And also I have seen that the Loadid keeps on increasing for every change I make.
    Can someone please help me/ guide me in the right direction?
    Thanks.

    pcsscheduledContent table. schedule something to be published in the future and then do a select on that table with an order by clause of :
    ORDER BY ITEMBEGINDATE DESC
    The itembegindate column contains the date AND time of the publishing schedule. you may just not be converting the value correctly.
    hth,
    Robert

  • How to know precisely when the revision of a content item is released?

    Hi,
    I have written a filter to handle delete event of content item revisions. Whenever a revision of a data file (WCM data file) is deleted my filter gets triggered and and checks for some criteria on our meta data. When the criteria is met it has to compare the contents of the revision that is deleted with the new revision. Since the revision will be deleted when my filter is exited, I copied the contents of the revision that is deleted and invoked a java thread with required document information.
    In that thread I am checking for when the revision is successfully deleted so that I can read the contents of new revision and compare them with old revision.
    For that I calling DOC_INFO_BY_NAME service from my thread and am checking until the following values for below meta data are in effect
    dStatus=RELEASED
    dReleaseState=Y
    Unfortunately this is not working properly. I am still seeing the data file content of deleted revision only. For testing purpose I put a sleep of 10 seconds in my code instead of reading the meta data values which is making the code work as expected. I am to get the contents on new revisions after the sleep time. But I don't want to work this way as this is not a guaranteed mechanism.
    How to know for sure when the revision is released?
    Regards,
    Pratap

    Hope as you mentioned I would be able to use link manager. That would make my work much simpler. But just want to ensure that we both are on the same page relating to my requirements. I still feel there is some gap in what I have tried to explain and what you understood. May be I couldn't put it in simple words.
    I will try my best to explain the requirements again in a simpler manner. This is only to ensure that I wouldn't end up spending lot of time in understanding new stuff but only to relaize at later time it may not work for me. I haven't used Link Manager before. That is why I am speculating a bit. I will start looking into the documentation of the Link Manager and Related Content to checkout if they work for me.
    First thing is that the links are not just present in static lists. They can also be in content generated using WYSIWYG editors and Image elements.
    Second when I talked about HTMLs they are not true content items. We are generating these HTMLs based on the structure of the site studio data file that is checked-in. I think it would be more clear if I add more details here.
    The data files that I have been referring so far are bit complex. Our site studio contibution site allows creation of parent content items like detailed page, news articles etc and child items like RelatedSections, FAQ Items etc. The child items are referenced in the parent content items for organizing the parent content item's structure. All these site studio content items are XML files and each of them can internally contain links to other items. In fact the child items can have references to parents items or other childd items as static list (with link selector elements) and WYSIWYG editors are used while creating these content types (parent and child items).
    Finally we generate the HTML only for parent items and display them on our portal. Child references are used only for defining parent item structure and the generated HTML for the parent item contains the details of child items. Our differentiation of parent and child is in the context. HTMLs that I have been talking so far are these ones only. They are not real content items.
    The HTML will be generated when ever the parent item is updated and approved in the last step in our workflow. Now since parent item's HTML is dependent on child items, whenever a child item is updated and approved in the last step of workflow we should look up for all the parent items that are referring to this child and regenerate the HTML for those parent items using updated contents of this child.
    Similar logic of HTML regeneration should be applied in the delete events.
    Finally the revision related issues that I listed for data files apply for images as well. Since the images are also managed content items with multiple revisions they are maintained in site studio content items with their dDocName instead of its file file path and extension. Lets say an image is being referred in one of the parent content items and the image extension at the time it was initially used in the parent item is gif. The HTML contents for this parent that get generated will have gif extension for this image item. Now after some time if the user checks-in a new revision for this image item and lets say the extension now is png. But the HTML generated for the parent item is still having .gif in the img src attribute. Which means we need to re-generate the HTML in this case by checking where all this image item is referred.
    If link manager can be helpful in meeting the above requirements it would be great. It shouldn't matter if there is bit of customization work involved.
    Regards,
    Pratap

  • How to add an existing content database to new Site collection

    Hi All,
    Can anyone help to figure out how can I add existing content database to a new site collection in SharePoint 2013 foundation.
    We have more than 40 site collections under one web application, and only one site collection is returning 404 error. When checked in the central admin to view all site collections, the details on the right side of the site is not visible, and unable
    to delete it. The database is not corrupt, as I tried to add the same content database to a new web application, and it works perfectly in a new web app.
    As we couldn't find any solution, the only option we thought of was to blow the site collection and create a new one and add the exisiting database, but I am unaware as to how can I add existing database to new create site collection. Can anyone help
    me with this please?
    Regards,
    DJ

    It's working....
    The current database was corrupt I guess, (not sure though). Took old backup file and tested to see if it's working. After the test was successful...
    Removed the current database in CA
    Delete the current database in SQL server
    Restored the working backup file in SQL server
    Added the content db in CA
    That's it... the site collection is working now...
    Regards,
    DJ

  • Problem in Checked-in Content Item in UCM

    Hi All,
    Previously I have checked-in a content item into UCM. but after while I deleted all revisions because I didn't need that file.
    Problem is that when I perform search, That content Item visibles, and when I click on content info button then it gives me error "Content item is no longer available in System".
    Plz tell me Why search result gives me that page which I have deleted ?
    Note: We have configured "Full text Search" Engine in our System.
    Waiting for helpful response
    regards,
    Ali Imran

    Was you index rebuild cycle successful?
    Try this run below query on Oracle UCM database schema
    You can find out which collection is in use by looking @ <install dir>/search/activeindex.hda file
    select * from idccoll2/idccoll1 where ddocname LIKE '<dDocName of content id of which you deleted all revisions>';
    if you get result that means either rebuild cycle was not successful or not yet complete and using old index collection.
    Try one more time by noting down which is current index collection by looking @ activeindex.hda then rebuild index collection after rebuild & restarting CS server check activeindex.hda file to see if new collection to use is updated in this file.
    Regards,
    Amol Gavali.

  • Ingesting media as a revision of an existing asset

    I'm wondering what the options are for ingesting a media file via a hot folder as a new revision of an existing asset. I'm trying to do this via a script interacting with fcsvr_client, but any suggestion or advice are welcomed.

    This isn't exactly possible via watch/hot folders. The creation of versions, and asset stored on devices configured as type "Content Base" in Final Cut Server is handled by internal processes that aren't exposed via the Basic or Advance Admin or via the fcsvr_client command line tools.
    Now with that being said you can approach the concept of creating version slight different if you really need to have an external process handle versioning vs. the manual process allow via the Final Cut Server (FCSvr) Client GUI.
    I'd approach is programmatically creating versions of an asset on the filesystem. You could have a application that searches for assets by filenames and ensures that versioning is handled by filenames.
    For example if a FCSvr asset has an Asset ID of "101" and a filename of "XPlatformConsultingLogov1.mov", and a user created and dropped a new filename "XPlatformConsultingLogov2.mov" into a watch folder, a script could move this new version to a filesystem location and simply link via a custom metadata field Asset 101 to this new file.
    This is a complete hack type approach, but one that would achieve basically the same functionality. You'd need to create alot of code around revert to to previous version as such but it can be done.
    Hope this helps.
    Nicholas Stokes
    XPlatform Consulting

  • Publisher 6.4 to 6.5 - unable to check out content items

    Hello,
    We upgraded from publisher 6.4 to 6.5 and now are having issues with existing content.
    When trying to check out a content item - the browser hangs - checking task manager IE is hung but continually grabbing memory.
    Eventually it comes back as a Windows Internet Explorer error - Out of Memory at line 21 - then it just ignore any other clicks to the 'Check Out' link.
    Previous to this I got an error that said
    "Stop running script?
    A script on this page is causing Internet Explorer to run slowly.
    If it continues to run, your computer may become unresponsive."
    So I did this http://support.microsoft.com/kb/175500
    But now I get the out of memory error.
    I cannot even check out the content item to see what the issue is. It is not all content items just this one. Trying to find a way to edit it...
    Suggestions? Any thoughts?
    Thanks,
    V

    Did you check the publisher log files? Logs should be located here ptcs\6.5\logs
    you could also try increasing the amount of memory publisher uses by changing the min/max settings in this file.. ptcs\6.5\settings\config\service.conf
    After you change the memory settings you may need to uninstall and reinstall the publisher service using the ptcs\6.5\bin\service.bat -remove and -intall....
    Hope that helps.

  • The Web application at could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application

    Hi,
    I have created on windows service to fetch sharepoint list ad update the list items.
    when i run this service in sharepoint server(where the sharepoint site is hosted),it is working fine. If i run the same service in another machine(sharepoint installed in this machine also). it is giving the below error
    The Web application at [URL] could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.
    Code snippet
    SPSite sharepointSite = null;
                SPWeb rootWeb = null;
                try
                    //SPList current = null, previous = null;
                    string colmId = ConfigurationManager.AppSettings[ID_COLM];
                    List<TaskEntity> list = new List<TaskEntity>();
                    sharepointSite = new SPSite(URL);
                    rootWeb = sharepointSite.OpenWeb();
                    SPList current = rootWeb.Lists[ConfigurationManager.AppSettings[OMEGA_REGISTRATION_LIST]];
                    WriteEventLog("current" + current.Items.Count.ToString());
                catch (Exception ex)
                    ExceptionMethod(ex);
                finally
                    sharepointSite = null;
                    rootWeb = null;
    I have pointed .net framework to 3.5 version and target palform as Any CPU. Please suggest me

    Hi mallela1,
    I also had similar issue couple of months back when I was trying to access a remote URL from a Windows service when the site does not exists in the server where service resides.
    You cannot access a remote url (even though it is SharePoint server and also in same network ) from server object model.
    SPSite can look in the current server only. here what is happening is SPSite will look for this in the current server DB and it is not finding this errror.
    So please dont use ServerObject model for accessing remote sites. You can use Client Object model for the code /requirement you have stated above.
    I wasted lot of time in finding a work around to make to work. It did not. So look for other options.
    Regards,
    Nandini

  • Error while releasing :-Content item  was not successfully checked

    Hi
    I have create a ucm user "john" which has auth type "Local" and roles of
              Admin
              contributor
              Sysmanager
    "admin" role:- has Groups/rights such as
              Rights.Apss.RepMan
              Rights.Apss.Workflow
              Rights.Apss.ConfigMan
              Rights.Apps.Archiver
              newgroup(RWDA)
              release (RWDA)
              secure (RWDA)
    "contributor" role :- has Groups/rights such as
              newgroup(RWDA)
              public(RW)
              release(RWDA)
              secure()
    "sysmanager" role has groups/rights
              newgroup(RWDA)
              public(R)
              release(RWDA)
              secure(R)
    When I am trying to release the documents I get error such as
    Event generated by user 'john' at host '192.168.21.215'. Content item <undefined> was not successfully checked in. Security group is not defined. Unable to validate user security. [ Details ]
    An error has occurred. The stack trace below shows more information.
    !csUserEventMessage,john,192.168.21.215!$!csUnableToCheckIn,!csSecurityGroupNotDefined
    intradoc.common.ServiceException: !csUnableToCheckIn,!csSecurityGroupNotDefined
         at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:1739)
         at intradoc.server.Service.buildServiceException(Service.java:1999)
         at intradoc.server.Service.createServiceExceptionEx(Service.java:1993)
         at intradoc.server.Service.createServiceException(Service.java:1988)
         at intradoc.server.ServiceSecurityImplementor.determinePrivilege(ServiceSecurityImplementor.java:795)
         at intradoc.server.DocumentAccessSecurity.checkSecurity(DocumentAccessSecurity.java:110)
         at intradoc.server.DocumentAccessSecurity.checkSecurity(DocumentAccessSecurity.java:67)
         at intradoc.server.ServiceSecurityImplementor.checkSecurity(ServiceSecurityImplementor.java:320)
         at intradoc.server.Service.checkSecurity(Service.java:2546)
         at intradoc.server.Service.checkSecurity(Service.java:2524)
    As per the document I have given the user required group and role permission . What more should I do to release it ?
    Guidance requested
    Thanks
    Joseph John

    By release you mean you are unable to checkin a document?
    How are you trying to checkin the document? DIS, SOAP, standard checkin form page??
    It looks as if you haven`t supplied a security group or content id on the document meta data when you have checked in the document..
    You can automatically assign content ids by going to admin server and enabling auto assign id check box.
    John should only need the admin role, that will give the user full access.

  • I had to buy a new computer because my old one died. When I sync my iPhone to my new computer, none of the existing content (apps, music, whatever) transfers. What do I have to do?

    When I sync my iPhone to my new computer, none of the existing content (apps, music, whatever) transfers. What do I have to do?
    iPhone 5 iOS 7.1.2
    Old computer Windows XP SP3
    New computer Windows 8

    Anything you purchased from the iTunes Store can be downloaded again, as often as necessary, as long as it still exists in the iTunes Store.
    Read:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Checking to see whether a user exists in a Windows Active Directory

    I have a little java applet that has to run through a large list of users, and for one of its tasks, it has to check to see whether that user exists. Mostly this is the same as running with local users, with the one exception that I can't just check to see if a home directory exists.
    Right now I am checking the return code from "net user <username>", but executing this program for every potential user is extremely slow.
    Are any java facilities to deal with users on the local system? If not, does anyone else have any suggestions?
    Also, a note for any responses- I'm using java to get around the lack of any easy way to set up a good scripting environment on Windows. I have a completed tool, and I don't want to rewrite it.

    <sarcasm>
    I seem to remember this service - what's it called? Ah, Google. Yes.
    </sarcasm>
    Try http://www.google.com/search?q=java+active+directory+query

  • CF Ajax - how to make a small form 'pop up' over the existing content

    hi. i have a standard html form with quite a few elements
    (selects, radio buttons, input fields, text areas etc)
    some users will need the ability to supply additional data
    but i only want the fields for this additional data to appear upon
    request (to keep the form clean looking for the majority of users)
    i want to make it when users click on an "add more detail"
    button then the screen goes 'greyed out' and a new form appears
    roughly 350px x 350px centred on their screens. ive seen this done
    quite a lot recently and was just about to google javascript
    tutorials to get started, then it occured to me i may be able to
    utilise cf8's ajax tags to achieve this (which would be handy as i
    really struggle with anything other than v basic javascript)
    my requirements are:
    1 button (or link) in my standard form that launches the
    'more detail' form in a ?layer? over the top of the existing
    content
    2 when this happens the existing content is 'greyed out'
    preventing uses from interracting with it until they either
    complete this new form (or click the close button in that new form)
    3 this form is to contain 2 text inputs and a submit button
    4 i want to pass the data from this form back to the original
    form when it is submitted (temporarily storing the data in hidden
    fields within the original form) and will then ultimately pass this
    back to the server when the original form is submitted
    does anyone know if cfajax can help me with this (i dont need
    the asynchronous server interaction stuff ajax offers only the
    javascript to make my form pop up etc)
    if not does anyone know what this behaviour is commonly
    termed so i can google for it
    thanks very much indeed for any help
    cheers
    Nick

    Hi,
    i am not sure this serves ur purpose..but u can use try using
    cfwindow for this...this tutorial might help u get started..
    http://tutorial6.learncf.com/

  • Pasting content into table cell deletes existing content. Why?

    Pasting content into table cell deletes existing content. Why?

    I'm not sure why you would expect something different. If you put something into a cell, then that is the contents of the cell. If you want to preserve the existing contents when pasting additional content, you don't want to paste into the cell, you want to paste into its contents.
    Select the cell, then click again to put the insertion point into the contents, then Paste.

Maybe you are looking for

  • How to find the codepage in system

    hi team i have an activity of unicode migration. my current system is 4.7 Non unicode IDES. I hve to do a combined upgrade and unicode migration to do from 4.7 IDES to NW 2004 IDES. I have read few notes and guides where it says the process varries w

  • How do I make a DVD cover for a standard DVD holder (190 x 135 x 14mm) in Photoshop Elements 12?

    How do I make a DVD cover for a standard DVD holder (190 x 135 x 14mm)? I would like for it to be easy so I can fold the finished product and the front cover, spine, and back cover will all be in the correct space when inserted into the DVD holder. I

  • Where can I get my mp3 player fi

    I just recently dropped my 3-year old Creative Zen Touch mp3 playa on the sidewalk and now it doesn't scroll making it pretty much useless. I've had problems with the buttons in the past not doing what they are supposed to do and the headphone jack s

  • HMMM...NOT SURE

    there was no misc. catagory, so i'll ask here. two of my friends say that they have seen 30" iMacs, not the 30 inch display hooked up to a comp., but an actual 30" in iMac...i told them there is no such thing, but who's right...please don't delete th

  • Why can't I see my metadata in my project window

    This is easier to show in a video than in text. Text goes blank when I select the item in list view - not in all views, if I open in it's own window it works.... Mac OS 10.7.5 / PP cloud 7.0.1 http://lucy.wistia.com/medias/l672xpkoda Thanks loothi ps