Checkout & checkin

Hello,
i've tried to modify the Versioning example from the Content DB Developers Guide. This one works pretty fine with an auto versioning test (Attributes.VERSIONING_CONFIGURATION_AUTO_VERSION, Boolean.TRUE).
But I dont get the manual versioning...
(Attributes.VERSIONING_CONFIGURATION_AUTO_VERSION, Boolean.FALSE)
For testing purpose i delete all items within the folder, then generate a new DocDefinition an than a Document. Now i've tried to checkout this Item an then to check the same Item in...
But here is the Problem: Within the checkin process i recieve an ORACLE.FDK.AggregateError (ORACLE.FDK.OperationOnlyAllowedForWorkingCopy)
What should i do to check the same item (but content changed) in, so i get a Version 2 of the Item?
The Versioning Example generates two items... but imho is this not the checkin/checkout principle like in CVS or SVN!?

When you check-out documents Content DB creates a server side 'working copy'. This object may be updated multiple times and then checked-back in when you are done with your edits.
The versionManager.checkoutDocuments method returns you the id of the working copy. You need to call the checkin method on this object.
regards,
-sancho

Similar Messages

  • Extending CheckOut & CheckIn

    Hi,
    Is it possible extending CheckOut & CheckIn commands in InDesign CS 4 ?

    When you check-out documents Content DB creates a server side 'working copy'. This object may be updated multiple times and then checked-back in when you are done with your edits.
    The versionManager.checkoutDocuments method returns you the id of the working copy. You need to call the checkin method on this object.
    regards,
    -sancho

  • Checkout/Checkin View problem

    Hi,
    I need to do checkout a user view and update the values in that and then checkin the view.
    When i do a trace, only user.waveset.accountId is being displayed. The global variables like user.global.firstname, user.global.lastname are all coming as null. I have included firstname, lastname etc in the userextendedattributes also.
    I am checking out the view as the WF_CASE_OWNER and modifying WF_CASE_OWNER user view only. (Basically, its like Self service functionality, user can change his own address etc)
    What am i missing in this? Can anyone please help me out?
    Thanks

    Thanks for your prompt reply.
    I am accessing the views from enduser interface. I have already given authorized=true and subject as that of the WF_CASE_OWNER. I am able to get the user.waveset.accountId when i put the trace, but not the other attributes like user.global.firstname, etc.
    In the task it doesnot throw any error. In the tasks instances- the status is "finished"
    But my checkout and checkin view actions are like below:
    <Action id='1' application='com.waveset.session.WorkflowServices'>
    <Argument name='op' value='checkoutView'/>
    <Argument name='type' value='User'/>
    <Argument name='id'>
    <ref>WF_CASE_OWNER</ref>
    </Argument>
    <Argument name='authorized' value='true'/>
    <Argument name='subject'>
    <ref>WF_CASE_OWNER</ref>
    </Argument>
    <Return from='view' to='user'/>
    </Action>
    <Action id='2' application='com.waveset.session.WorkflowServices'>
    <Argument name='op' value='unlockView'/>
    <Argument name='view'>
    <ref>user</ref>
    </Argument>
    <Argument name='subject'>
    <ref>WF_CASE_OWNER</ref>
    </Argument>
    <Argument name='authorized' value='true'/>
    </Action>
    Can you please tell me what i am missing.

  • Checkout & checkin process

    hi
    can any one tell how to checkout and checkin while creating applications in webdynpro.
    regards
    vijaya
    Message was edited by:
            vijaya lakshmi

    Hi Vijayalakshmi,
         To do checkout and checkin first u should have access to DTR(User ID and Password).If u have them ,then this is the process:
    First you open the "implementation Perspective " of a view and try to modify the code(You can simply press your space bar on the keyboard),then it will automatically ask you for "checkout".If you say "yes" for checkout it will ask for user ID and password .If you provide that it will do a process of "checkout",now you can able to modify the code.If you try to  modify it ,one window will popup asking the name of the" activity",give a name for the "activity" and press OK.
    After completion of your modifications go to the "Development Configurations" perspective ,in that go to "open activities".There you can see the name of your "activity" ,right click on that activity,you can see the "checkin" option .
    Click it ,it will ask for information,say OK,ACTIVATE.Your  code will be successfully go to the DTR.
    Reward me with points if this information is helpful to you.
    Message was edited by:
            Bharath Akuthota

  • Create new version, checkout, checkin workflow not correct via abap

    Hey,
    I wrote an abap programm with the following workflow:
    - I create a new version of the document CVAPI_DOC_CREATE_NEW_VERSION
    - I check out the new version with CVAPI_DOC_CHECKOUTMODIFY
    - I check in the file with the new content CVAPI_DOC_CHECKIN
    And now there are 2 files in DMS with the same version. But there should be only one document with version 01.
    The method CREATE_NEW_VERSION creates an dms document. But also the CVAPI_DOC_CHECKIN method creates an document in dms. But the checkin method should override the new version.
    Thanks for your support.
    BR,
    Christoph

    Hi Christoph,
    unfortunately it is very hard to suggest a detailed solution for your individual program. Personally I would recommend you to
    use the following sequence:
    - I create a new version of the document CVAPI_DOC_CREATE_NEW_VERSION
    - BAPI_DOCUMENT_GETDETAIL2 to read out the current document data
    - I check out the new version with CVAPI_DOC_CHECKOUTMODIFY
    - BAPI_DOCUMENT_GETDETAIL2 to read out the current document data
    - I check in the file with the new content API_DOCUMENT_MAINTAIN2 or BAPI_DOCUMENT_CHANGE2.
    If you enter the storage category in the table DOCUMENTFILES of the mentioned function modules the file should be
    checked in again. For further information on the DMS BAPI behavior please see the attached documentation to SAP note 766277.
    Best regards,
    Christoph

  • Facing problem to Checkin and checkout file from starteam using vba

    Hi,
    Im trying to checkin and checkout file in starteam through vba. I have imported the
    StarTeamSDK104.dll in reference in vba project and tried to accomplish my task.
    I am able to locate the file, but not able to checkout/checkin the file. I am not sure how to use checkin/checkout function in vba. I am getting an error at the checkout code(hichlighted in bold in the below code). Also I was able to
    do it in java but i want it in vba.
    Could someone help me on this.
    Below is the code im using.
    Sub ST_Test()
    Dim strAddress As String
    Dim nPort As Long
    Dim strUser As String
    Dim strPassword As String
    Dim strProjectName As String
    strAddress = "Sample Address"
    nPort = 1234
    strUser = "Sample Username"
    strPassword = "Sample Password"
    strProjectName = "Sample Project"
    Dim Factory As New StServerFactory
    Dim Server As StServer
    Set Server = Factory.Create(strAddress, nPort)
    Server.Connect
    Server.logOn strUser, strPassword
    Dim project As StProject
    Set project = FindProject(Server, strProjectName)
    Dim view As StView
    Dim finder As StStarTeamFinder
    Dim Folder As Stfolder
    Set view = project.DefaultView
    Set Folder = view.RootFolder
    For Each chk In Folder.getItems(Server.TypeNames.File)
        Dim fileitem As StFile
        Set fileitem = chk
        If fileitem.Name = "Filename.txt" Then
            fileitem.checkout(0,False,True,False )
        End If
    Next chk
    End Sub

    Hi,
    As for the checkout method, please refer to the following link:
    http://msdn.microsoft.com/en-us/library/office/aa223821(v=office.11).aspx
    The syntax is:
    expression.CheckOut(FileName)
    Jaynet Zhang
    TechNet Community Support

  • How to checkout from the batch script?

    Hello All !
    Does anybody knows how to maintain versioned files with the batch scripts? Particularly I'm talking about doing a checkout/checkin operations. Are any command-line utilities available? Is it possible at all?
    Regards, Sergey.

    you can get entire table script
    select dbms_metadata.get_ddl('TABLE','TABLE_NAME','SCHEMANAME') from dual;
    IT is not possible to get only the partition script
    As it is a part of table definition.
    You can also use the third party tool like 'TOAD' to get the script also.

  • Intradoc ClassCastException occurred after an update or a checkin of a doc

    Our website (developed in Java) use the oracle.ucm.irdc-11.1.1.jar sdk in order to connect and retrieve documents from the WebCenter and show it in our web application.
    In the webcenter content, I update the meta data (a date) using the Content Action> update menu of the Content Information of a specific document.
    In our web application, when we try to retrieve the document (which the metadata are now updated) with the “GET_SEARCH_RESULTS” idc service, our web application crash due to an error occurred in the webcenter server :
    ++Event generated by user 'ILL-CIS-StepING' at host 'CIS'. Unable to retrieve search results. Unable to execute service method 'getSearchResults'. Runtime error: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String [ Details ]++
    ++An error has occurred. The stack trace below shows more information.++
    +!csUserEventMessage,ILL-CIS-StepING,CIS!$!csUnableToRetrieveSearchResults!csUnableToExecMethod,getSearchResults!syServiceRuntime,java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String+
    intradoc.common.ServiceException: !csUnableToRetrieveSearchResults!csUnableToExecMethod,getSearchResults
    *ScriptStack GET_SEARCH_RESULTS+
    +3:getSearchResults,**no captured values**+
    at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
    at intradoc.server.Service.buildServiceException(Service.java:2326)
    at intradoc.server.Service.createServiceExceptionEx(Service.java:2320)
    at intradoc.server.Service.createServiceException(Service.java:2315)
    at intradoc.server.Service.doCodeEx(Service.java:654)
    at intradoc.server.Service.doCode(Service.java:575)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:547)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:542)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
    at intradoc.server.Service.executeActions(Service.java:528)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
    at intradoc.server.Service.doRequest(Service.java:1956)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:437)
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    at intradoc.server.IdcServerThread.run(IdcServerThread.java:160)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
    at intradoc.search.SearchCacheUtils.checkRowAgainstQueryElementClause(SearchCacheUtils.java:1772)
    at intradoc.search.SearchCacheUtils.checkRowAgainstQueryElement(SearchCacheUtils.java:1578)
    at intradoc.search.SearchCacheUtils.checkRowAgainstQueryElement(SearchCacheUtils.java:1572)
    at intradoc.search.SearchCacheUtils.checkRowAgainstParsedQuery(SearchCacheUtils.java:1529)
    at intradoc.search.SearchCacheUtils.checkSatisfiesQuery(SearchCacheUtils.java:1286)
    at intradoc.search.SearchCacheUtils.checkAndCaptureDocListChanges(SearchCacheUtils.java:1028)
    at intradoc.search.SearchCache.checkCache(SearchCache.java:533)
    at intradoc.server.SearchService.getSearchResults(SearchService.java:507)
    at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    at intradoc.server.Service.doCodeEx(Service.java:620)
    +... 15 more+
    Here is the query text used :
    xLang <substring> `fr` <AND> (xMarket <contains> `0`) <AND> (xUserCategory <contains> `PUB`) <AND> (xInternetValidityDate <= `11/23/2012` <AND> xInternetExpirationDate > `11/23/2012`) <AND> (dDocType <matches> `ABOUT_US`) <AND> ((xFileType <matches> `pdf` <OR> xFileType <matches> `doc` <OR> xFileType <matches> `xls`)) <AND> (dDocTitle <substring> `` <OR> (xKeywords <substring> ``) <OR> (<ftx>{}</ftx>))
    In order to do not have this problem error, I need to ask to the administrator to restart the webcenter server or to rebuild the index and in this case the problem disappear.
    This problem occurs each time when we modify a metadata (for example : File type, expiration date,etc.) on any document.
    Of course, it is not acceptable to reboot the webcenter application each time a check-in/update is done.
    Could you please help us on this issue ?
    Thank you in avance.

    Maybe to help, I precise the use cases that lead to the ClassCastException.
    As previously sent, the query used is :
    xLang <substring> `fr` <AND> (xMarket <contains> `0`) <AND> (xUserCategory <contains> `PUB`) <AND> (xInternetValidityDate <= `28/11/2012` <AND> xInternetExpirationDate > `28/11/2012`) <AND> (dDocType <matches> `ABOUT_US`) <AND> ((xFileType <matches> `pdf` <OR> xFileType <matches> `doc` <OR> xFileType <matches> `xls`)) <AND> (dDocTitle <substring> `` <OR> (xKeywords <substring> ``) <OR> (<ftx>{}</ftx>))
    In our use case, the query returns two results : result1 and result2
    Use case 1
    I change the “fileType” metadata of the document “result1” in order to be out of the result. In this case, I put “fake” as fileType. The query returns only one result : result2 as expected -> OK
    Use case 2
    I change the “fileType” metadata of the document “result1” and I put the original value (“doc”). So, this item should be back in the result. The query raises the “ClassCastException” -> KO
    To be able to query again, I have to launch the “Collection Rebuild Cycle”.
    I relaunch the query again. It returns the two expected items.
    Use case 3
    I make a new check-in of a document. The metadata of this item are filled in order to have this item as result of the query. I launch the query … and the exception “ClassCastException” is raised. -> KO
    To be able to query again, I have to launch the “Collection Rebuild Cycle”.
    I relaunch the query again. It returns the three expected items (including now the newly created item) : result1, result2 and result3
    Use case 4
    I realize a checkout-checkin of the item “result1”. A new release of the document is done without modifying the metadata. The query returns the three expected results : result1, result2 and result3 -> OK
    Use case 5
    I update a metadata of “result1” but in order to let it in the result of the query. For example, I modify the internet expiration date : From 01/01/2015 to 01/01/2020. The query returns the three expected results : result1, result2 and result3 -> OK
    Use case 6
    I update a metadata of “result1” but in order to put it out of the result of the query. For example, I modify the internet expiration date : From 01/01/2020 to 01/01/2000. The query returns the two expected results : result2 and result3 -> OK
    Use case 7
    I update a metadata of “result1” but in order to put it back in the result of the query. For example, I modify the internet expiration date : From 01/01/2000 to 01/01/2020 (the original value). The query raises the “ClassCastException” -> KO
    I hope it can help.
    It is a real blocking point for us.

  • Getting errors when trying to execute CRUD programs

    Hi All
    I am trying to execute one of the CRUD programs for creating , updatying or deleting data in MDM server and a m getting a few errors .Could anybody advise.
    Created on Jun 6, 2007
    package com.sap.nw.mdm.rig;
    import com.sap.nw.mdm.rig.programs.data.blobs.BLOBDataProgram;
    import com.sap.nw.mdm.rig.programs.data.checkout_checkin_rollback.CheckOutCheckInRecordsProgram;
    import com.sap.nw.mdm.rig.programs.data.crud.CRUDDataProgram;
    import com.sap.nw.mdm.rig.programs.data.crud.bulk.BulkCRUDDataProgram;
    import com.sap.nw.mdm.rig.programs.data.keymapping.KeyMappingProgram;
    import com.sap.nw.mdm.rig.programs.data.search.SearchProgram;
    import com.sap.nw.mdm.rig.programs.data.search.attribute.AttributeSearchProgram;
    import com.sap.nw.mdm.rig.programs.data.search.field.FieldSearchProgram;
    import com.sap.nw.mdm.rig.programs.data.syndication.SyndicationProgram;
    import com.sap.nw.mdm.rig.programs.data.workflow.WorkflowProgram;
    import com.sap.mdm.data.RegionProperties;
    import com.sap.nw.mdm.rig.repository.Repository;
    import com.sap.nw.mdm.rig.server.Server;
    This class is the starting point to execute all sample programs.
    To see a description of the various programs you can execute, please have a look at the
    documentation for the following classes.  There are static variables in each of these
    classes that point to the various programs that can be executed with a description of
    what the program does.
    <ul>
    <li>{@link com.sap.nw.mdm.rig.programs.data.blobs.BLOBDataProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.checkout_checkin_rollback.CheckOutCheckInRecordsProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.crud.CRUDDataProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.crud.bulk.BulkCRUDDataProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.keymapping.KeyMappingProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.search.SearchProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.search.attribute.AttributeSearchProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.search.field.FieldSearchProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.syndication.SyndicationProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.workflow.WorkflowProgram}
    </ul>
    @author Richard LeBlanc
    public class Application {
         private Application() {
    Starts the application and executes a program
    @param args - not required
         static public void main(String[] args) {
              System.out.println("876876");
              Application app = new Application();
              System.out.println("11111");
              Program program = null;
              System.out.println("22222");
    Simply uncomment the line that contains the program you wish to execute and run this class.
    Blob Programs
    //          program = BLOBDataProgram.RETRIEVE_AND_WRITE_IMAGE_TO_FILE;
    //          program = BLOBDataProgram.RETRIEVE_AND_WRITE_PDF_TO_FILE;
    Checkout/Checkin Data Programs
    //          program = CheckOutCheckInRecordsProgram.CHECK_OUT_NEW_CHECK_IN;
    //          program = CheckOutCheckInRecordsProgram.CHECK_OUT_NEW_ROLLBACK;
    //          program = CheckOutCheckInRecordsProgram.CHECK_OUT_EXISTING_CHECK_IN;
    //          program = CheckOutCheckInRecordsProgram.CHECK_OUT_EXISTING_ROLLBACK;
    Create Read Update Delete (CRUD) Data Programs
    //          program = CRUDDataProgram.CRUD_HIERARCHY_TABLE;
              program = CRUDDataProgram.CRUD_MAIN_TABLE;
    //          program = CRUDDataProgram.CRUD_MAIN_TABLE_WITH_FLAT_AND_HIERARCHY_LOOKUP_FIELDS;
    //          program = CRUDDataProgram.CRUD_MAIN_TABLE_WITH_QUALIFIED_LOOKUP_FIELD;
    //          program = CRUDDataProgram.CRUD_MAIN_TABLE_WITH_TAXONOMY_LOOKUP_FIELD;
    //          program = CRUDDataProgram.CRUD_TAXONOMY_TABLE_WITH_ATTRIBUTES;
              System.out.println("333333");
    Bulk Create Read Update Delete (CRUD) data programs
    (many records at once)
    //          program = BulkCRUDDataProgram.BULK_CRUD_MAIN_TABLE;
    KeyMapping Programs
    //          program = KeyMappingProgram.RETRIEVE;
    Search Programs
    //          program = SearchProgram.DRILL_DOWN_SEARCH;
    //          program = SearchProgram.KEYWORD;
    //          program = SearchProgram.MASK;
    //          program = SearchProgram.NAMED_SEARCH;
    //          program = SearchProgram.QUALIFIER;
    Attribute Search Programs
    //          program = AttributeSearchProgram.COUPLED_NUMERIC;
    //          program = AttributeSearchProgram.NUMERIC;
    //          program = AttributeSearchProgram.TEXT;
    Field Search Programs
    //          program = FieldSearchProgram.BOOLEAN;
    //          program = FieldSearchProgram.CURRENCY;
    //          program = FieldSearchProgram.LITERAL_DATE;
    //          program = FieldSearchProgram.LOOKUP;
    //          program = FieldSearchProgram.TEXT;
    Syndication Programs
    //          program = SyndicationProgram.SYNDICATE_PORT;
    Workflow Programs
    //          program = WorkflowProgram.EXECUTE;
              //TODO enter MDS name
              String mdsName = "172.18.139.200"; //the name of the Master Data Server
              String repositoryName = "GDS_1"; //make sure this is the name you use when unarchiving
                                                           //the repository otherwise change it to reflect the name
                                                           //of your repository
              String regionName = "English [US]";
              String userName = "Admin"; //there is an admin user with no password in the provided repository
              String password = ""; //there is an admin user with no password in the provided repository
              System.out.println("67r86587");
              app.start(mdsName, repositoryName, regionName, userName, password, program);
    Establishes a connection to the given server and logs in to the given repository
    with the given logon information and executes the given program
         private void start(String serverName, String repositoryName, String regionName,
                                  String user, String password, Program program) {
              //Create an instance of the MDS
              Server server = Server.getInstance(serverName);
              System.out.println("444444");
              //Get the list of running repositories from the server
              Repository[] repositories = server.getRepositories();
              System.out.println("5555");
              Repository repository = null;
              //Go through the list of repositories and see if any match the
              //given repository name
              for(int i=0, j=repositories.length; i<j; i++){
                   System.out.println("666666bbye");
                   if(repositories<i>.getIdentifier().getName().equals(repositoryName)) {
                        System.out.println(" hello" +repositoryName);
                        repository = repositories<i>;
                        System.out.println(" hi"   + repository);          
              //Get the list of regions for the repository
              RegionProperties[] regions = repository.getRegions();
              RegionProperties region = null;
              //Go through the list of regions and see if any match the given
              //repository name
              for(int i=0, j=regions.length; i<j; i++){
                   System.out.println(" hello");
                   if(regions<i>.getName().equals(regionName)) {
                        region = regions<i>;
                        System.out.println(" 99999" +region);
              //Login to the repository as you would using the Data Manager
              //This creates a user and repository session that are available using
              //repository.getSession()
              repository.login(region, user, password);
              //execute the program from the list above
              program.execute(repository);
              System.out.println(" finally");
              //destroy the session (destroys the repository and user sessions)
              repository.getSession().destroy();
              //close the connection to the MDS
              repository.getServer().closeConnection();
    I am getting the following errors:
    Exception in thread "main" java.lang.IllegalArgumentException: Table with Code 'Products' does not exist in the repository 'GDS_1'
         at com.sap.mdm.internal.schema.RepositorySchemaImpl.getTableSchema(RepositorySchemaImpl.java:136)
         at com.sap.nw.mdm.rig.programs.data.crud.CRUDMainTableRecordProgram.execute(CRUDMainTableRecordProgram.java:33)
         at com.sap.nw.mdm.rig.Application.start(Application.java:211)
         at com.sap.nw.mdm.rig.Application.main(Application.java:157)

    Hi Stephen,
    I assume that a super admin user does not get these error messages, right? If so, this behaviour might come due to missing permissions on PCD objects for the user rubinmd. Please apply note 792370 which explains how to set end user permission on the pcd folder com.sap.ip.collaboration/Rooms
    Kind regards,
    Roland

  • Is it possible to have PDF and PNG versions of 'same' folio

    Is it possible when copying over the articles to have one folio as PDF and another as PNG?
    Tried doing this by setting up an alternative folio as PNG and copying across the articles that were created for the original PDF folio, but they still appear to be PDF when loaded into the new folio and previewed on tablet, even though it has been set to PNG.
    Do they only get converted to PNG when published? shouldn't one be seeing thumbnails in the DPS Folio Producer: Editor browser window. Trying to preserve the meta data tags between folios, or do I have to re-export these files and re-input the tags and attributes manually.
    I see there is a way of copying articles between folios at an admin level, would this result in a correct transposition of PDF to PNG?

    We use the K4 publishing system, and haven't started using their plugin yet, as we are still 'kicking the tires'. That said PDF and Android don't play together so well, hence looking at a PNG version without having to re-enter all the metadata again, which is what happens with the method you describe above.
    The trouble is that the meta data is not part of the Indesign document so we have to re-enter it all plus there is the open/checkout/checkin/close of all documents from K4 which is a royal PIA, so uploading the same indesign documents isn't really helping. If the sidecar file worked 'properly' then perhaps that might be a solution, hear its not quite there though?
    So, copying the article across to a new folio looked like it might work but not sure why when it asks when setting up the folio, whether you want PDF or PNG specs those do not stay set or why they are ignored on copying to the new supposed PNG rendition.
    Would the K4 plugin solve this? would it work for all formats if we are building an Ipad and iPhone and Android version of a folio from the same document sourced in K4.

  • Need info

    Hi,
    I am new to CM SDK (and iFS) and have only learnt about it through its documentation. We want to use it in our project and have the following queries. It would be great if someone can answer them:
    1. If I store xml files in CM SDK, will I be able to search the file content using XML queries like how I can do when I store an XMLType object in XML DB? All my xml files are data files.
    2. When I checkout an object (Document), will that object be modifiable? What I would like to achieve is, checkout an object, do modifications on the same object and finally check it in. Is this possible?
    3. Can I checkout/checkin a Folder object? What would happen to objects inside the folder in that case?
    Thanks and Regards,
    Kamesh.

    Thanks a lot for the answers.
    2. This is up to you. "checkout" is an application-level operation, and using the Java API, you can decide what happens when an object is checked out.If I understand correctly, it means that calling reserveNext() method on a versioned document would not automatically lock the document. The content of the document can still be changed using setContent() method without changing any of the version information. Also, from the reference documentation, it looks as if one can call reserveNext() on an already reserved document! It is the custom applications duty to take care of the versioning feature(as per their requriement), using the API. CM SDK is not providing any default versioning behaviour through the API.
    The main reason for my above query was this note in the reference document:
    "Previous releases of the Oracle CM SDK allowed iterative changes to be held temporarily in a PendingPublicObject on the VersionSeries. The PendingPublicObject attribute and related methods have been deprecated in this release."
    3. Yes -- it's up to you what happens to items in the folder.Could you provide some links that have details/examples on folder versioning.
    I have a question for you. Do you plan to use the protocol servers to access files and folders stored in iFS?No, as of now. In future we may try to use some protocol servers (like for Web UI) mainly for viewing purpose.
    Thanks,
    Kamesh.

  • Problem in Connection pooling after deploying BC4J App Module as EJB

    Hi,
    We have deployed the application modules on standalone OC4J as stateful EJB session beans.
    The problem is that with each user, the number of database connections seem to increase. This is making the application unscalable, which defeats the purpose of using EJB!
    Can someone please suggest how to limit the number of database conections in this scenario?
    Can this be solved by application module pooling? How can we use the PoolMgr to work with the session beans?
    We have tried to invoke disconnect on the application module after calling methods(using appmodule.disconnect(true)) and reconnect (appmodule.reconnect()) on entering the method. This keeps the number of connections low and works the first time the method is invoked. But subsequently, it gives nullpointerexception when the Row is accessed in the JSP.
    The exception we are getting is :
    java.lang.NullPointerException
         at oracle.jbo.client.remote.ViewUsageImpl.getStructDef(ViewUsageImpl.java:241)
         at oracle.jbo.client.remote.ViewUsageImpl.findAttributeDef(ViewUsageImpl.java:275)
         at oracle.jbo.client.remote.RowImpl.getAttributeIndexOf(RowImpl.java:368)
         at oracle.jbo.client.remote.RowImpl.getAttribute(RowImpl.java:144)
         at Supplier.client.ejb.beanmanaged.SupplierAM_IntPaymtVORowBeanManagedClient.getMdid(SupplierAM_IntPaymtVORowBeanManagedClient.java:63)
         at supplier.sccPayCheq._jspService(_sccPayCheq.java:102)
         [SRC:/Supplier/sccPayCheq.jsp:44]
    The Application module configuration (in bc4j.xcfg) is:
    <AppModuleConfig name="SupplierAM9iAS">
    <AppServerConnectionName>StandaloneOC4JConnection</AppServerConnectionName>
    <AppModuleJndiName>Supplier.SupplierAM</AppModuleJndiName>
    <java.naming.security.credentials>admin</java.naming.security.credentials>
    <DeployPlatform>EjbIas</DeployPlatform>
    <java.naming.security.principal>admin</java.naming.security.principal>
    <DtMiddleTierDeploymentProfile>ProjectMiddleTier.deploy</DtMiddleTierDeploymentProfile>
    <ApplicationName>Supplier.SupplierAM</ApplicationName>
    <DtDeploymentProfile>ProjectEJB.deploy</DtDeploymentProfile>
    <DtCommonDeploymentProfile>ProjectCommon.deploy</DtCommonDeploymentProfile>
    <JDBCDataSource>jdbc/ConnectionCoreDS</JDBCDataSource>
    <jbo.server.internal_connection>jdbc/ConnectionCoreDS</jbo.server.internal_connection>
    <jbo.ejb.txntype>local</jbo.ejb.txntype>
    <jbo.doconnectionpooling>true</jbo.doconnectionpooling>
    <ApplicationPath>ProjectEJB</ApplicationPath>
    </AppModuleConfig>
    The Datasource used (in $ORACLE_HOME/j2ee/home/config/data-sources.xml) is:
    <data-source
              class="oracle.jdbc.pool.OracleConnectionCacheImpl"           connection-driver="oracle.jdbc.driver.OracleDriver"
              ejb-location="jdbc/ConnectionDS"
              inactivity-timeout="30"
              location="jdbc/ConnectionCoreDS"
              name="ConnectionDS"
              password="*******"
              pooled-location="jdbc/ConnectionPooledDS"
              url="jdbc:oracle:thin:@<IPADDESS>:<SID>"
              username="USER"
              xa-location="jdbc/xa/ConnectionXADS"
              max-connections="5"
              min-connections="1"/>

    Can this be solved by application module pooling? How
    can we use the PoolMgr to work with the session
    beans?You can use a stateless checkout/checkin appmodule.
    Take a look at the following help topics which explain this in good detail.
    "About Application Module Pooling"
    "About JSP Pages and Application Module Pooling"
    The pool can help reuse the appmodule instance across requests thus reducing the number of concurrent db sessions.
    Dhiraj

  • Workflow terminate if Map MDMWebService CheckOutResponse to artifact in BPM

    Hello, All
       Have you ever try to map a MDM Web Service checkout response to an Data Object in BPM?
       I have published MDM Web Service (checkout checkin) and try to use them as automatical activity in BPM. As for the checkout MDM web Service, it returns the check-out  internal Id array list in response. I have tested this Web Service seperately and it can return the correct check-out  internal Id array list in response.
    My problem:
      I want to save the returned internal Id array list into an artifact in BPM. I defined an Data Object in the type of com.sap.mdm.ws.beans.checkoutResponse, and I map the check out response to this Data Object directly. But BPM workflow will terminate if I map the MDM web service checkout responses to this Data Object.
       If you have used MDM Web Service as automatic task in your past BPM design, have you ever map out the output internal Id array? If so, could you please confirm whether it is the correct mapping method to save the output internal Id array?
    Thanks a lot!
    Welkin

    i think we have the same issue.
    the bpm call checkin ws to check in a mdm record.
    the ws call is succeeded, as the record is checked in.
    the problem is the bpm process will be screwed up if you try to map the response of the that ws call to context object.
    another problem is the bpm will convert the user account to lower case to call the ws.
    it is problem for mdm, as the login account for mdm is case sensitive.
    for this, we have created a ticket yesterday.
    Edited by: John Wu on Jan 13, 2011 5:18 PM

  • HTML code issues

    I have a topic that was once stable
    , but now at one point in the top
    ic the style is correct. But in another area, the style will not take and the HTM
    L code inserts <span> etc., etc. Here is an example if you look at the H
    2 head:
    <?xml version="1.0" encoding="utf-8" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="template" content="NERC.htt" />
    <meta name="generator" content="Adobe RoboHelp 8" />
    <title>Revoking PI User Access</title>
    <link rel="StyleSheet" href="..\default.css" type="text/css" />
    </head>
    <body>
    <?rh-script_start ?><script src="../ehlpdhtm.js" type="text/javascript"
            language="JavaScript1.2"></script><?rh-script_end ?>
    <?rh-placeholder type="header" ?>
    <h1>Revoking PI User Access</h1>
    <p>Access for both a PI user and a SCADAView user can be revoked if a Mantis
    ticket requesting removal from IT AccessRequest exists. For Mantis tickets,
    make sure that a <span class="BoldName">Real Time Systems User ID Add-Changed-Remove</span>
    form completed by the user’s E4 manager is attached to the ticket. If
    not, contact the requestor.</p>
    <p>In order to remove access, you must search for the user name in both
    the old and new databases:</p>
    <ul type="disc">
    <li class="BulletedList">For instructions on revoking a user's access
      in the old database, <a href="#Removing_Access_Old_DB">click here</a>.</li>
    <li class="BulletedList">For instructions on revoking a user's access
      in the new Active Directory database, <a href="#Removing_Access_New_DB">click
      here</a>.</li>
    </ul>
    <p>After revoking a PI user's access, you also need to remove the user's
    name from the Outlook Address Book. For instructions, <a href="#Removing_User_Outlook_Group">click
    here.</a></p>
    <h2>Removing a user's access in the old database<a name="Removing_Access_Old_DB"></a></h2>
    <ol>
    <li class="NumberedList"><p style="margin-left: 0px;">Go to the SCADA
      website at <a href="http://scada/" style="font-size: 10pt;">HTTP://SCADA</a>.</p></li>
    <li class="NumberedList"><p>When the <span class="BoldName">SCADA &amp;
      Distribution Automation</span> home page displays, under <span class="BoldName">PI
      Historian</span>, click <span class="BoldName">User Maintenance</span>
      (circled in red). <a class="dropspot" href="javascript:TextPopup(this)"
            id="a5">Click to view</a>.</p>
    <div class="droptext" id="POPUP134020538" style="display: none;">
      <p><img src="../PI_Historian.jpg" alt="" style="border-left-style: Solid;
         border-left-width: 2px; border-right-style: Solid; border-right-width: 2px;
         border-top-style: Solid; border-top-width: 2px; border-bottom-style: Solid;
         border-bottom-width: 2px;" width="194" height="109" border="2" /></p>
    </div></li>
    <li class="NumberedList"><p>When the SCADA System Logon screen displays,
      perform the following:</p></li>
    </ol>
    <ol start="1">
    <li class="NumberedList2"><p>For <span class="BoldName">User Id,</span>
      enter your PI user id.</p></li>
    <li class="NumberedList2"><p>For <span class="BoldName">Password,</span>enter
      your PI password.</p></li>
    <li class="NumberedList2"><p>For <span class="BoldName">Select Group,
      </span>click <span class="BoldName">PRG</span> from the dropdown list.</p></li>
    <li class="NumberedList2"><p>Click <img src="../ButtonSubmit.JPG" alt=""
                style="border: none;" width="61"
                height="25" border="0" /><span
      class="BoldName">.</span></p></li>
    </ol>
    <p style="text-indent: 84px;"><span class="BoldName">&#160;Result:</span><span
      class="Result"> The </span><span class="BoldName">User Administration</span><span
      class="Result"> screen displays the user's information. <a class="dropspot"
      href="javascript:TextPopup(this)" id="a2">Click to view</a>.</span></p>
    <div class="droptext" id="POPUP133400192" style="display: none;">
    <p><img src="../UAdminKUSBJX.jpg" alt="" style="border: none;" width="456"
        height="368" border="0" /></p>
    </div>
    <ol start="4" type="1">
    <li class="NumberedList"><span class="Result">I</span>f the user id
      is recognized, but PI access must be removed while keeping <span class="BoldName"
      style="font-weight: normal;">SCADAView.</span></li>
    <li class="NumberedList">If the user id is recognized, but PI access
      must be removed while keeping <span class="BoldName" style="font-weight: normal;">SCADAView
      access, uncheck the </span><span class="BoldName">PI Access</span><span
      class="BoldName" style="font-weight: normal;"> checkbox and click
      </span><img src="../ButtonModify.JPG" alt="" style="border: none;"
         width="63" height="25" border="0" />. </li>
    </ol>
    <p style="margin-left: 60px;"><span class="BoldName">&#160;Result: &#160;</span>If
    the PI-only access removal is successful you should see this message (circled
    in red).</p>
    <ul type="disc">
    <ol start="6" type="1">
      <li class="NumberedList"><p>&#160;</p></li>
      <li class="NumberedList">If both SCADAView and PI Access must be
       removed, click <img src="../ButtonDelete.JPG" alt="" style="border: none;"
            width="63" height="24" border="0" />.</li>
      <p>&#160;Result: If both SCADAView and PI access removal is successful
       you should see the following message (circled in red). <a class="dropspot"
       href="javascript:TextPopup(this)" id="a4">Click to view.</a></p>
      <div class="droptext" id="POPUP133037650" style="display: none;">
       <p><img src="../UAdminDeleted.jpg" alt="" style="border: none;"
          width="466" height="409" border="0" /></p>
      </div>
      <p class="Note" style="margin-left: 108px; text-indent: -48px;">&#160;NOTE:
       &#160;<span style="font-weight: normal;">The User ID is the person’s
       LAN user id. This removes the user id from the GLOBE_USER table.</span></p>
      <h2><span style="font-weight: normal;">Removing a user's access
       in the new database (Windows Active Directory)<a name="Removing_Access_New_DB"></a></span></h2>
      <ol type="1">
       <li class="NumberedList"><p><span style="font-weight: normal;">Remote
        desktop to either server: <span style="font-weight: bold;">cccs-pifig01</span>
        or <span style="font-weight: bold;">lc3s-pifig01</span>.</span></p></li>
       <li class="NumberedList"><p><span style="font-weight: normal;">Double-click
        the <span style="font-weight: bold;">Energy PI Users Group.</span></span></p></li>
       <li class="NumberedList"><p><span style="font-weight: normal;">When
        the<span style="font-weight: bold;"> Energy PI Users Properties
        </span>dialog<span style="font-weight: bold;"> </span>displays,
        select the <span style="font-weight: bold;">Members</span>
        tab. See below.</span></p></li>
      </ol>
      <p style="margin-left: 48px;"><span style="font-weight: normal;"><img
       src="../Remove_NewDB.jpg" alt="" style="border: none;" width="963"
       height="642" border="0" /></span></p>
      <ol start="4" type="1">
       <li class="NumberedList"><p><span style="font-weight: normal;">Select
        the LAN user name on the screen and click <img src="../ButtonRemove.jpg"
                    alt="" style="border: none;"
                    width="75"
                    height="24"
                    border="0" />.
        </span></p></li>
      </ol>
      <p style="text-indent: 60px;"><span style="font-weight: normal;"><span
       style="font-weight: bold;">&#160;Result:</span> The user is removed
       from the PI access Active Directory user database.</span></p>
      <h2><span style="font-weight: normal;">Removing a user's name from
       Outlook<a name="Removing_User_Outlook_Group"></a> </span></h2>
      <p><span style="font-weight: normal;"><span class="BoldName" style="font-weight: normal;">This
       procedure involves removing the newly deleted user from the </span><span
       class="BoldName">T&amp;D PI Users</span><span class="BoldName"
                   style="font-weight: normal;">
       group in the Outlook Address Book.</span></span></p>
      <ol start="1" type="1">
       <li class="NumberedList"><p><span><span class="BoldName" style="font-weight: normal;">Open
        the address book in Outlook.</span></span></p></li>
       <li class="NumberedList"><p><span style="font-weight: normal;">Locate
        and delete the user’s name from the <span class="BoldName">T&amp;D
        PI Users group.</span></span></p></li>
       <li class="NumberedList"><p><span style="font-weight: normal;">Complete
        the Mantis ticket.</span></p></li>
       <li class="NumberedList"><p><span style="font-weight: normal;">If
        the user is on the Terminated Employees list, enter the employee’s
        user id in the PI Access column and highlight the entire row
        with an orange background color.</span></p></li>
      </ol>
      <p>&#160;</p>
      <?rh-placeholder type="footer" ?>
    </ol>
    </ul>
    <?rh-placeholder type="footer" ?>
    <?rh-script_start ?><script type="text/javascript" language="JavaScript1.2">//<![CDATA[
    if( typeof( TextPopupInit ) != 'function' ) TextPopupInit = new Function();
    TextPopupInit('a5', 'POPUP134020538');
    TextPopupInit('a2', 'POPUP133400192');
    TextPopupInit('a4', 'POPUP133037650');
    //]]></script><?rh-script_end ?>
    </body>
    </html>
    I am exhausted from deleting specific HTML code to make the content work. Plus there seems to be an issue with the margins moving around. Can someone help me with this HTLM code nightmare? Other than deleting it all and inputting the text again? This is the only topic in my project in which this has occurred.

    Hi Gloria,
              Its not possible to talk about a solution until you know the issue which caused it. the question is the HTML cannot get reorganize in RoboHelp if it is not edited exclusively - by this I mean if you bring in all the content through RoboHelp UI then RoboHelp will not change HTML by itself, until you manually change the html code.
    you should try to find out the cause of the seizure (by which I think you mean hang), It could be that you are using any version control and it failed to checkout/checkin one or more project files, It might be that .cpd file got corrupted in that case you can try deleting the .cpd file after closing the project and it will get recreated by RoboHelp on next Open project, or it is possible that some of your shared resources might be missing/moved because of which RoboHelp hangs then in such case you should replace/remove these resources.
    You should not be working on the project over network (i.e. the Project should be on the local drive).
    Are you using CBTs and UDVs or your topics are too large (and thus processing of these topics seizes RoboHelp)
    by any means deleting random HTML code of any topic might actually make the HTML invalid and cause more crashes or hangs.
    I have listed down almost all the reason..
    one way is to remove topics and find out the culprit topics which causes the hang and if you find one you can share it with me at [email protected] and I might find the cause of RH hang by inspecting that
    Hope this helps
    Ashish

  • Dbxtool and clearcase-plugin

    Hi there,
    our company is considering tu upgrade our development chain to Solaris Studio 12.2 (possibly 12.3).
    In this context, we want to use dbxtool, e.g. to debug executables.
    As our company uses clearcase as revision control system, we've tried to apply the available netbeanes plugin to dbxtool.
    It seems to work properly in the Solaris Studio 12.2 IDE, but unfortunately we can't get it to work in dbxtool.
    Is there a possibilty to use dbxtool in conjunction with netbeanes clearcase plugin?
    Kind regards,
    Christian

    Thanks for your notes,
    IvanIgorovich wrote:
    How does it "not work"?It looks like as you've described it. I already have problems to install the plugin (plugin version 1.2.0.42) in dbxtool (Solaris Studio 12.2). My procedure is as follows: dbxtool --> tools --> plugins --> downloaded --> install).
    After doing this, I get the following messages:
    Some plugins require plugin org.netbeans.modules.diff to be installed.
    The plugin org.netbeans.modules.diff is requested in implementation version 42.  The following plugin is affected:       Clearcase
    Some plugins require plugin org.netbeans.modules.refactoring.api to be installed.
    The plugin org.netbeans.modules.refactoring.api is requested in version 1.3.  The following plugin is affected:       Clearcase
    Some plugins require plugin org.netbeans.modules.versioning.util to be installed.
    The plugin org.netbeans.modules.versioning.util is requested in version 1.9.1.  The following plugin is affected:       Clearcase
    Some plugins require plugin org.netbeans.modules.versioning to be installed.
    The plugin org.netbeans.modules.versioning is requested in version 1.4.  The following plugin is affected:       Clearcase  Some plugins not installed to avoid potential installation problems.
    I've tried to install the missing nbm-modules (Release 6.91) downloaded from the the website: [http://bits.netbeans.org/maven2/org/netbeans/modules/].
    As a result, a much more larger number of missing modules appeared and now I doubt if it is possible to use clearcase-plugin with this "trimmed downed version" dbxtool-IDE.
    IvanIgorovich wrote:
    What functionality of the clearcase module do you need under dbxtool?I hope that it is possible to use the same offered functionality as in the Studio IDE, e.g. Checkout, Checkin, VersionTree etc. by right-click on items in the favorites window or in the menu-toolbar (Team --> clearcase --> ...).
    Regards,
    Christian

Maybe you are looking for