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

Similar Messages

  • 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

  • BEA's Publisher - Display Published Content Items

    I'm using BEA's Publisher product with ALUI. I want to have a simple portlet that just displays Content Items that I've published, but after playing with it for a couple of hours, I find myself stuck.
    I have a Data Entry template that just takes a name and a file, and a presentation template associated with that. But I can't figure out how to make the presentation template display a list of published content items associated with the Data Entry template.
    I tried using the Tag Helper and I saw that the file properties were available, e.g. name, location, length, however I can't get the template to actually display the information.
    Also, since I can't publish said presentation template (you aren't allowed to publish a presentation template associated with a data entry template), I have to make ANOTHER presentation template, and include the first one, and then make a new portlet that displays that second template. Is this how it's supposed to work? It seems awfully complicated for such a simple task.
    I would greatly appreciate any input anyone can give. Thanks!
    Edited by: user10704201 on Dec 12, 2008 12:32 PM

    " I can't figure out how to make the presentation template display a list of published content items associated with the Data Entry template. "
    While I believe that this is a correct statement, you can't use pcs:foreach to get all items associated with a DET, I think that what you really want is to display all the content items in a folder or in a list. The 2 ways I most commonly do it are:
    use a list
    1) create a DET for the main portlet item (for example, news stories) with a property of type list
    2) create a DET for the type of item that goes into the list (for example, news article)
    3) create a Content Item based on your main portlet item DET
    4) add items to the list
    5) iterate through the list in your presentation template (pcs:foreach expr="item.myList" var="mylistvar"...)
    You can also tell each news article to automatically add itself to the news stories list. (Look in the DET for this setting)
    use a folder
    you can also just create your list items in a folder and then loop through the folder (pcs:foreach expr="folderByPath(item.folder,"folderName")"...

  • Can anybody tell me how to get INV available quantity of a item through API

    Hello,experts.
    Can anybody tell me how to get INV available quantity of a item through API?
    And offer any example for this.
    Thanks in advance

    Check from This table : MTL_ONHAND_QUANTITIES and MTL_ONHAND_QUANTITIES_DETAIL.
    Anyway just curious, if you able to access this forum (which requires internet connection), why you can't access TRM and IREP ?

  • Publisher Content Item has become corrupt

    Hi Team,
    I am a newbie here.
    I have Publisher 6.5. I have a content item that has become corrupt and is not editable any longer. However it can be accessed i.e seen on portal pages.
    We have decided to delete this content item and recreate it again. However the problem is, this content item is used by multiple portlets. If we delete the content item then the connection with other portlets will get broken, I guess.
    How best can I recreate the content item and how should I rejoin it to the broken portlets

    Could you be more descriptive about what you mean by "corrupt"?
    If you haven't already, I would recommend creating a help desk ticket.

  • Moving Content Item Using API

    Hi Everyone,
    I'm try to create winform application with control tree that enable the users to move item from source folder to destination folder.
    I tried to use the CopyContentItem Method and then delete the source item but I found that this mothod creates the item in the same folder.
    Does anyone have experience with such task and does it mean that I need to create new content item in the target folder and getAllProperties from the source item and set for each property his value manually???? It's insane....
    Guy

    Hi,
    To create your own custom scheduler task, check this:
    https://forums.sdn.sap.com/thread.jspa?threadID=28955
    So in your code you should perform a copy/replace operation of your xml with KM Api.
    Check this for an example:
    https://forums.sdn.sap.com/thread.jspa?threadID=100695
    Greetings,
    Praveen Gudapati

  • Displaying content item -(IContentItem) in portlet using Content Server API

    Hi,
    I am using the latest Content server API in my remote server to get the published content items. I have to display the content item in the JSP portlet.
    So how to display the content item in the portlet, if you have the IContentItem Object retrieved from the content server ? Is there any mechanism to get the HTML code/JSP code that corresponds to the IContentItem object?(All the content item will be an html or jsp )
    Currently we are extracting the publish url and opening an http connection to retrieve the html, which is not a good solution if you have mutiple portlets in the same page. So please suggest how can I display the content item (IContentItem Object) in the portlet.?

    Hi Anand,
    I am facing the same problem on IBM WebSphere Portal 5.1.
    Did you find a solution to your problem ?
    Thanks
    Ganesh

  • Display content items into custom remote portlets

    Hi, I need to dinamically display content server items in a custom portlet, using the EDK, but I did not find any way to get this result. Is it poossible to get an object (in my case a published content item) within an ObjectManager and display it's content (in our case a simple HTML content).
    I need to do this because whe have to format the home page of the portal in order to display the first half in three columns and the second half in two columns and we are trying to do this implementing a custom portlet (in the content canvas area) containing a three columns table displaying each a different content item.
    Thank you.

    There are basically two ways that I have done to open the content item editor.1) From a content presentation template you would call a JavaScript function like:
    <script>
    function edit_article$$TOKEN$$() {
    var width = 700;
    var height = 527;
    var left;
    var top;
    left = window.screenLeft + 10;
    top = window.screenTop - 30;
    if ( (left + width/2) > screen.availWidth ||
    (top + width/2) > screen.availHeight ) {
    left = 0;
    top = 0;
    var params = "height=" + height + ",width=" + width + ",left=" + left + ",top=" + top + ",screenX=" + left + ",screenY=" + top + "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1";
    window.open("<pcs:value expr='pcs_location'></pcs:value>/published_tools/content_item.jsp?ciid=<pcs:value expr='pcs_id'></pcs:value>&title=ContentItemEditArticleTitle", '', params);
    </script>
    2) The other way is using the content Item API. You get the editor url from the content item, which you already have. Now what you are doing below is almost correct. The importance of the pt:objectid is crucial. Take a look at the web docs on Plumtree ([url[/url]http://www.plumtree.com/edoc/Enterprise_Web_Development_Documentation.htm) under portlets/adaptive portlets/transformer tags/links. So the reason yours is not working is that you are missing some ptargs. The pt:objectid needs to be the objected of the "Content Administrator" portlet. This is for 2 reasons. One is so that you get the correct PTargs and the second is that it will use the basic auth information stored in its web service. So if your objectid of the portlet was 201 then it would look like this:
    lblHref.Text = "<pt:gatewayLink xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'pt:ObjectID='201' pt:href=\""+ url + "\" target='TinyURL' onclick=window.top.open('','TinyURL'," + WindowOpenParams + ");>"+myContentItem.Name + "</pt:gatewayLink>";
    Andrew Morris | bdg | [email protected]| www.bdg-online.com
    Like blogs? Check out bdg's Plumtree blog at http://bdg-plumtree.blogspot.com.

  • Content Items and the Knowledge Directory - 3 questions

    1) Does anyone know of a way to set the default KD folder where all items in a Content folder should publish?
    2) Is there some code I can put in the data entry template to force any content item published to automatically publish in the default KD directory I specify?
    3) And on previously published Content items, is there a way to publish all items in the articles folder en mass to a specified KD folder without going to each one and selecting "publish to directory"?

    Hi,
    If you are seeing the documents in the Knowledge Directory and in edit mode, but not browse mode then check/try the following. What exactly were you doing when you got the error? Were you in Publisher or in the Knowledge Directory and running the Simple Submit task?:
    1. Try to approve the documents in edit mode.
    2. Go to the Administrative->Intrinsic Operations and run the following jobs.
    --> Search Update 1
    3. Make sure you have proper permissions on the folder in the Knowledge Directory and Publisher Folders.
    4. Check the permissions on the Content Source for the Knowledge Directory
    I need a little more information to get your better help.
    tnx
    James

  • Time Based publishing dates lost through copying content

    We are using a SAP Netweaver Portal, www.dkv-euroservice.com, and a standard KM. If we use the copy function through the document explorer on a content item which is in a KM directory we noticed that all "time bases publishing" dates belonging to this item are lost.
    These property information are emtpy in the original document which we wanted to be copied and also in the new copied item ?!
    The SAP UI Command problem for copy a content item occures by selecting one content item and by selecting serveral items at the same copy execution.
    Please inform us about a fix to this problem. As we mentioned this behaviour to SAP at the DSAG fair in Leipzig, Germany we got the answer that this is a software bug.
    Regards
    Shah Saad Azfar

    Copying content might not provide timebased publishing parameters, however, you can try it with "Move" Command.
    Move will copy all related parameters along with the file...
    Regards,
    Tushar Dave

  • High Response Times with 50 content items in a Publisher 6.5 portlet

    Folks,
    Have set up a load test, running with a single user, in which new News Article content items are inserted into a Publisher 6.5 portlet created of the News Portlet template. Inserts have good response times through 25 or so content items in the portlet. Then response times become linearly longer, until it takes ten minutes to insert a content item, when there are 160 content items already.
    This is a test system that is experiencing no other problems. There are no other users on the system, only the single test user in LoadRunner, inserting one content item at a time. The actual size of the content item is tiny. Memory usage in the Publisher JVM (as seein on the Diagnostics page) does not vary from 87% used with 13% free. So I asked for a DB Trace, to determine if there were long-running queries. I can provide this on request, it zips to less than 700k.
    Have seldom seen this kind of linear scalability!
    Looked at the trace through SQL Server Profiler. There are several items running for more than one second, the Audit Logout EventClass repeatedly occurs with long durations (ten minutes and more). The users are publisher user, workflow user, an NT user and one DatabaseMail transaction taking 286173 ms.
    In most cases there is no TextData, and the ApplicationName is i-net opta 2000 (which looks like a JDBC driver) in the longest-running cases.
    Nevertheless, for the short running queries, there are many (hundreds) of calls to exec sp_execute and IF @@TRANCOUNT > 0 ROLLBACK TRAN. This is most of what fills the log. This is strange because only a few records were actually inserted successfully, during the course of the test. I see numerous calls to sp_prepexec related to the main table in question, PCSCONTENTITEMS, but very short duration (no apparent problems) on the execution of the stored procedures. Completed usually within 20ms.
    I am unble to tell if a session has an active request but is being blocked, or is blocking others... can anyone with SQL Server DBA knowledge help me interpret these results?
    Thanks !!!
    Robert

    hmmm....is this the ootb news portlet? does it keep all content items in one publisher folder? if so then it is probably trying to re-publish that entire folder for every content item and choking on multiple republish executes. i dont think that ootb portlet was meant to cover a use case of multiple content item inserts so quickly. by definition newsworth stuff should not happen to need bulk inserts. is there another way to insert all of the items using publisher admin and then do one publish for all?
    i know in past migration efforts when i've written utilities to migrate from legacy to publisher the inserts and saves for each item took a couple of seconds each. the publishing was done at the end and took quite a long time.

  • How to publish a File Content Item via EDK?

    I'm trying to publish a "File Content Item" via the EDK.
    CS EXPLORER
    Recall, that a "File Content Item" is different than a (regular) "Content Item" in that (via CS Explorer) it's a content item with no user-defined data entry template (when you right-click, the "Edit Data Entry Template..." menu item is not listed). Yet, somehow, it can still be published (via the Explorer), --which is great because I need to FTP this file to another server.
    EDK
    However, even though the (file) content item's EDK "Publishable" property indicates "true", it cannot be published via the IContentItemManager.PublishContentItem() method, which is returning the following error message...
    The required object was not found... content item... containing Data Entry Template... with attached Presentation Template (with UUID null)... (DataItemUuidNotFound...)
    In other words, the File Content Item has a (system defined) "/Definitions/File" data entry template, which has no attached presentation template. This leads me to believe that File Content Items are published differently (than Content Items).
    Or, is there a flag that I can pass along to "file_upload.jsp" to get it to auto-publish the File Content Item it creates?
    thanks,
    Michael

    Hey there,
    Animate doesn't publish to HTTPS, but this is something you can control on your own when uploading to a secure server. Also be aware that the Animate runtime is served over HTTP so you'll have to upload this component to serve from your server as well.
    Sarah

  • Error occurred while publishing the content item to the Knowledge Directory

    We are receiving the following error upon publishing non-binary content items to the knowledge directory:
    Error occurred while publishing the content item to the Knowledge Directory. Contact your portal administrator.
    Ironically, in the KD, we call see all content items located in Publisher when we are in Edit mode -- even though they haven't been published to the KD yet. In Browse mode, we can't see any content items.
    Has anyone see this error before? What could be the cause?
    We are using ALUI 6.1.

    Hi,
    If you are seeing the documents in the Knowledge Directory and in edit mode, but not browse mode then check/try the following. What exactly were you doing when you got the error? Were you in Publisher or in the Knowledge Directory and running the Simple Submit task?:
    1. Try to approve the documents in edit mode.
    2. Go to the Administrative->Intrinsic Operations and run the following jobs.
    --> Search Update 1
    3. Make sure you have proper permissions on the folder in the Knowledge Directory and Publisher Folders.
    4. Check the permissions on the Content Source for the Knowledge Directory
    I need a little more information to get your better help.
    tnx
    James

  • Can Not Create Serviceable Item Through DI API

    Hi Experts,
    My Client is using SAP 8.81 PL0 ,I am creating Serviceable Item through DI API, using following code
    oItems = (SAPbobsCOM.Items)SBOAddOn.SBOCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems);
    oItems.ItemClass = SAPbobsCOM.ItemClassEnum.itcService
    When I am going to Add it throw the msg ,ServiceCat is blank
    In DI object I am not able to find the service category kindly help me out.
    Thanks
    Edited by: Anup Kharwar on Feb 21, 2012 5:40 AM

    Hi,
    The SDK helpfile has this to say about the itemClass property:
    SDK helpfile:
    Remarks
    The ItemClass property is applicable for cluster B (country-specific for Brazil only).
    For example in the Finnish localization we do not have a field in the Item Master Data window for ItemClass. We do have the field ItemType
    Does your localization have a field for itemClass anywhere in the B1 client ?
    Regards,
    Johan

  • 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.

Maybe you are looking for

  • Possible to Parse on(...) Script in Buttons ?

    Hi everyone, I've a "little" Problem that goes beyond my ActionsScript 2 Knowledge so I hope anybody has an Idea or can confirm that what I need to do isn't possible. I got an existing Flash-Project written with ActionScript 2 in this Project is a Gr

  • Photoshop Elements 9 shuts down. What do I do?

    Photoshop Elements 9 Editor shuts down.

  • PNG - perl module might help

    Those of you using on the fly generated PNGs served over the network might want to have a look at a perl module I've written Image::Pngslimmer over at CPAN. I serve PNGs created from a database of JPEGs and unfortunately the PNGs are rather too large

  • Data loosing in Hyperion Enterprise 6.5.1.

    We lost second time within one week all data in the Actual 2010 category. There is no identifier in the event log. User access is over terminal server. Has someone experienced such a problem? Ender

  • Installing a new Time Machine?

    I Have had to return a time machine as it was faulty. I have a replacement but before I install it, do I have to uninstall anything on my MacBook Pro to do with the old TM?