How to determine a Bidirectional relation when add a related Content in UCM

Good Day All,
i want to use "ADD_RELATED_CONTENT" service that are defined within the LinkManager Component.
i use the following parameters in my code and it works fine
request.putLocal("IdcService", "ADD_RELATED_CONTENT");
request.putLocal("dLinkTypeID", "4");
request.putLocal("dSource", "CS");
request.putLocal("dID", "16162");
request.putLocal("addLinkID", dId);
what i want to do:
- add a related content of type Cross-Reference Class (dLinkTypeID=4) with Bidirection relation not unidirection. The above code add a content as a unidirection relation.
is there is any specific parameter that i need to specify in order to determine the Bidirectional relation?
Regards.

actually am working on related content services; handle them thourgh (JAVA + RIDC).My general recommendation is: turn on server-wide tracing on requestaudit (or perhaps sometimes even services) - see http://docs.oracle.com/cd/E23943_01/doc.1111/e10792/c03_processes.htm#CSMSP535 how to do that, perform the scenario from GUI, and check what's being called. Often, you will find your answer there.

Similar Messages

  • How to determine the correct moment when Word has finished to write to a docx file

    Hello,
    we are currently passing a document to Microsoft Word for editing and want to take back the changed/saved document when editing is finished. But it seems we have issues to determine the correct moment when Word has for sure saved all changes and
    it is save to take back the file.
    To pass the document to Word we use ShellExecuteEx with the file name. Then we use the Running Objects Table and a File Moniker to wait for the file to be closed.
    Sample code:
    HRESULT hRes = S_OK; 
    CComPtr<IMoniker> spIMoniker; 
    CComPtr<IRunningObjectTable> pRT; 
    hRes = GetRunningObjectTable(0, &pRT); 
    if (FAILED(hRes))
       TWTHROW1(TWERR_ANY_ERROR, hRes, _T("GetRunningObjectTable failed."));
    hRes = ::CreateFileMoniker(m_strTempFilename.AllocSysString(), &spIMoniker);
    if (FAILED(hRes))
       TWTHROW1(TWERR_ANY_ERROR, hRes, _T("CreateFileMoniker failed."));
    while (S_OK == pRT->IsRunning(spIMoniker) && !m_bShutdown)
       Sleep(500);
       continue;
    So we wait for the file to be removed from the Running Objects Table and additionally wait until we can get exclusive access to the file before we take over the changed file. But still it seems to happen that we take the file too early. Hence it
    seems the file is removed from the Running Objects Table by Microsoft Word before saving the file has completed.
    Is this behaviour of Microsoft Word by design? What is the best practice to identify the moment in time when writing the file has completed. Some other applications like Winzip seem to do the same thing.
    Thanks,
    Wolfgang

    Hi WolfGang,
    Thanks for posting in MSDN forum.
    Based on the description, you are developing application with Windows API. I would like to move it to
    General Windows Desktop Development Issues forum.
    The reason why we recommend posting appropriately is you will get the mostqualified pool of respondents, and other partners who read the forums regularly can either share their knowledge
    or learn from your interaction with us.
    Thanks for your understanding.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to determine the positioning order when using tab key?

    Hallo,
    in my jspx-page i want to define the order which the cursor jumps when the user is using the tab key.
    i don't know how to? in html there i can use tabindex. which way i must go?
    Any help is appreciated.

    I found that tabindex is not applicable. But i think it is an important point for better handling.
    Is there no easy way to do it?

  • How do i install adblock plus when add-ons don't load?

    i just installed windows on my desktop and i was trying to get all the adons i enjoy in my laptop. the most useful of which is adblock plus. the issue is, whenever i attempt to click "add to firefox" it loads for a second and then gives up. also the addon page within firefox refuses to load (i think it is a related issue). i have searched the firefox help page and all i could find was instructions for mending update glitches.
    java is up and running
    i uninstalled the ask toolbar
    i have not nuked firefox yet and started over

    Try this & see if it helps solve your issue.
    [[Unable to install add-ons or extensions]]

  • How to determine full laptop model when label is gone?

    The label with the laptop model is gone and I don't know the full model name, so I cannot find the drivers I need. I tried using the Service Station application but it only displays the left part of the model name. Is there an application that can pull the full model name from the laptop?
    Thanks!

    Download this free utility and tell us what it finds for the part number.
       Belarc Advisor
    -Jerry

  • Determining end of file when file consists of objects

    Hi
    I'm having trouble working out how to determine end of file when the file consists of multiple objects
    I've written multiple Person objects to an XML file and I can read the first back
    public Vector<Person> readVectorFromFile() throws CJException {
             Vector<Person> v = new Vector<Person>();
             try {
             XMLDecoder d = new XMLDecoder(new BufferedInputStream(new FileInputStream("VectorStore.xml")));
             // while there are Persons remaining in the file
             Person p;
             //for each p in the file
             do {
                 p = (Person) d.readObject();
                 v.add(p);                      
             } while(// can't work out how to test this);
             d.close();
             catch(IOException ioe) {
                 throw new CJException("Error reading file: " + ioe.getCause());
             }al the books either give examples with the reading of a single object or reading multiple charaters...i've tried testing when p is null and using int c but these give ArrayIndexOutOfBoundsExceptions at runtime.
    Please could someone point me in the right direction?
    Thanks

    paulcw wrote:
    Similarly, this sucks:
    try {
    int i = 0;
    while(true)
    System.out.println(someArray[i++]);
    } catch (ArrayIndexOutOfBounds e) {
    // ignore
    True, but that is not the case in this instance, if that is what you're getting at. The problem is that the "read" method of this "Reader" throws an ArrayIndexOutOfBounds exception, without providing any way of figuring out if there is even anything to read. And that, in and of itself, is a remarkable event.
    The only other ways I see to avoid are all cludge work-arounds or innefficient. You could have the first object in the file be an Integer to indicate the number of objects (but what if, then, for whatever reason, the Stream is "emtpy"). You could parse the XML stream counting the number of "object" elements then push it all back, or reset if the underlying stream supports one of those, or reopen the stream and parse it again (this time with the readObject method), all of which are highly ineffecient. You could transmit, beforehand, how many elements there are, or "define" that there will "always" be only so many elements, etc.
    Everyone of those possible solutions (with the exception of the second, which is simply inneffecient) makes the entire thing rigid and inflexible, and, essentially, non-reusable.
    The while (or whatever) loop and catch at least make it generally usuable in all situations. It is, I agree, less than optimal, but still the "best" option, in this particular instance.

  • How to get the Useru2019s position when the user doesnu2019t have CP relation

    We have a custom program which will add / delete attributes (In transaction PPOSA_BBP). It is working fine for users which were assigned with CP relation But it fails for users which doesnu2019t have CP relation (since we are getting the position of users form HRP1001 then we are retrieving the existing attributes based on the position after that updating the attributes) as we are getting the position from HRP1001 it fails for users were no CP relation.
    Help us how to get the Useru2019s position when the user doesnu2019t have CP relation. Suggest us any function module or how to query the HRP1001 or some other table if exists
    Regards
    Paul

    Hi Paul,
    Have a look at these tables.
    Using table BUT000 the central business partner data are stored, f.e. partner type, partner names, partner number, partner guid, person number, etc. In table BUTBKK the bank data to a business partner are stored.
    Central business partner address data
    The table ADRC is used for the address of a business partner. Table BUT020 links the business partner number with the address number. Using table BUT021 several addresses to a business partner with different usages (modes), f.e. correspondence or delivery address, can be stored. The personal data of a business partner person are stored with key person number in table ADRP. The person number is assignd to a business partner person in table BUT000. Communication data of business partners as e-mail, telephone, fax, etc. are stored in the tables ADDR1 u2013 ADDR12. The business address of a contact person or an employee consists of the organization address (company resp. org.-unit) and of an address addition, which describes f.e. a building, a room number, etc. The address addition is stored in table ADCP and is identified by the keys address number of the organization address and person number.
    Relationships between business partners
    Table BUT050 contains the relationships between a business partner organization and a business partner person using relation types. The relation types are defined in table TBZ9, f.e. the relation type u2018has employeeu2019 corresponds to identifier u2018BUR010u2019, the relation type u2018has contact personu2019 corresponds to identifier u2018BUR001u2019. Table BUT051 stores communication data of a contact person relationship (compare to table ADCP). Table BUT052 stores several address numbers to one business partner relationship (including a standard flag).
    Hope this helps,
    Kind Regards,
    Matthew

  • How to add a related content for a particular document in UCM

    Hi All
    How to add a related content for a particular document in UCM. On which table it stores all the related document details. Can anyone suggest me a document which helps me to know how to add related contents for a document
    With thanks and regards
    Anoop

    I believe there is a PDF doc which comes with the component (it should be at your harddrive when you install it), which describes everything you will need.
    In a nutshell, there are two types of relationship: sibling - sibling, parent - child (there are some more nuances, but it follows the same logic).
    A relationship is created between two existing items (not sure, if you can also create a relationship for a new checked in item, but it would be just a usability). You select the type of relationship and the item - I believe depending on the relationship you may start from either item. The dialog to start is INFO (display metadata) or UPDATE (update metadata).
    When a relationship is created you may watch it also from either end (again INFO is the starting point).
    It is quite self-explanatory, so if you have the component installed you may just play around with it for a while and that is it.

  • Automatically add MK- role when creating a related person for a student

    Hello,
    When creating a related person for a student there are 3 roles added to the BP:
    -000000     BP (General)
    -FS0000     Financial Services BP
    -PSCI10     Related Person
    Can anyone help me further on how to automatically add the MKK role when creating a related person?
    Thanks for your help,
    Lukas Molenaar

    Hi Michael,
    Thanks for answering it really helped me out. But Iu2019m not quite there yet.
    I have the Role Grouping Category and Role Group with the 2 roles (PSCI10 and MKK).
    My suspicion is that somewhere else in the IMG lays the problem. Because when you check settings for students as business partners in the IMG Path: Campus Management -> Campus Management Master Data -> Students -> Students as Business Partners -> Check Settings for Students as Business Partners.
    Line nr 7 says: u201CThe definition of BP role for related person PSCI10 is correctu201D. From that I conclude (hope that is correct) that when you make a related person the BP is only created with BP role u201CPSCI10u201D.
    This is because when I deliberately make that check fail (so I have the help for that line) it says:
    u201CIn IMG activity Define BP Roles, you define a BP role for related person, assign this BP role to BP role category PSCI10, mark this BP as the standard assignment of BP role category PSCI10, and assign this BP role to BP view PSCI10.
    That tells me it is only linked that the BP role u201CPSCI10u201D.
    Can you please help me further with my problem?
    Thanks,

  • I have a new iPad with wifi. When I send messages I can see my sons and my husbands but not my phone number.  We all have an iPad and all use the same apple ID as iPad the bill.  How can I remove their numbers and add mine?

    I have a new iPad with wifi. When I send messages I can see my sons and my husbands but not my phone number.  We all have an iPad and all use the same apple ID as iPad the bill.  How can I remove their numbers and add mine?

    Add another e-mail account to your messages, so people could reach you on that e-mail from messages. As soon as you are online (if you have wifi only iPad) you are able to send and receive messages. i.e. your son can send you a messages from his iPhone addressing it to your (that additional) e-mail address.

  • I'm using Acrobat XI on Windows.  I want to add my company's logotype as a watermark to a PDF document.  How can I do this?  When I add it as a file (jpeg), the logotype is printed on a white square background.  It will be positioned on the PDF document o

    I'm using Acrobat XI on Windows.  I want to add my company's logotype as a watermark to a PDF document.  How can I do this?  When I add it as a file (jpeg), the logotype is printed on a white square background.  It will be positioned on the PDF document on a light, uniform yellowing color. I want this to show through, as if the logotype was stamped directly on the document.  Thanks.age to be completely transparent

    The above was truncated and garbled a bit and I can't figure out how to edit it.  So just to repeat the question a bit more clearly: "I'm using Acrobat XI on Windows.  I want to add my company's logotype as a watermark to a PDF document.  When I add it as a file (jpeg), the logotype is printed on a white square background (because the jpeg is square with a white background of course).  It will be positioned on the PDF document on a light, uniform yellowish color, which I want to show through. I want it to look as thought the logotype was stamped directly on the document.  Thanks.

  • I want to reinstall my operating system,How can I back up all my add ons, extensions and personas for reinstallation when Im done?

    I want to reinstall my operating system,How can I back up all my add ons, extensions and personas for reinstallation when Im done?
    Im using fire ftp,downthem all,wot , antiporn pro,and various personas.
    I dont want to renstall them all one at a time, rather I would like to ireinstall a back up like I do with my bookmarks,
    Is this possible??

    See this support article. <br />
    https://support.mozilla.com/en-US/kb/Backing+up+your+information

  • How to determine the policy, when it is applied?

    Hi!
    Perform Group Policy.
    When do I need to reboot when
    to logoff, and when the policy is executed after
    without further action?
    How to determine the policy, when it is applied?

    Hi,
    Group policy settings that affect computer settings section apply at reboot and refrresh every 90 min (default refresh interval for computers). Group policy settings that affect user settings section apply at user logon to the domain.
    You can use RSOP.MSC or command-line gpresult /? to find out what/which GPO settings have been applied to the computer/user belonging to a domain.
    More information can be found below:
    http://msdn.microsoft.com/en-us/library/aa373481(v=vs.85).aspx
    http://technet.microsoft.com/en-us/library/cc940895.aspx
    Hope this help.
    Regards,
    Calin

  • Have situation on a unprotected wireless when accessing I cannot get a router address.  I'm on system 10.6.8 on MacBook Pro summer 2009.  Any thoughts on how to determine what's up?

    Have situation on a unprotected wireless when accessing I cannot get a router address.  I'm on system 10.6.8 on MacBook Pro summer 2009.  Any thoughts on how to determine what's up?

    You have basically verified that the issue is NOT with your MBP, but with this particular Wi-Fi network. Even though it may be unsecured, the provider may have elected to configure it for MAC filtering. In this case I am referring to the MAC (Media Access Control) address and not your Mac laptop itself. If this has been enabled, your Mac would only be able to connect if the Mac's MAC address was added to that filter.

  • What is the relation between UTXJ and JMOD, how JMOD determine in order

    Hi All,
    What is the relation between UTXJ and JMOD! 
    How JMOD determine in order! ( For TAXINJ).
    Please help me
    Regards
    raj

    Dear Raj
    Both are not related in anyway.  UTXJ is for sales tax and JMOD is for excise condition.  For UTXJ, you need to create a tax code in FTXP and assign it in VK11 / UTXJ, whereas, JMOD is an excise condition type for which, you need to maintain the relevant datas in J1ID.
    Coming to your question, how JMOD is determined in sale order, it is based on delivering plant.  This delivering plant, as already said above, you will have to maintain in J1ID with the indicator "1" under declared tab in Material Chapter ID combination.
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • Cannot save file because it is open or in use by another program

    Windows XP, (or Vista, or Version 7, they all do it) CS2-3 or 4, all combinations have the problem.  Even the Macs.  Today was the worst I've ever seen and I'd love a solutions. I'm editing in WindowsXP in CS3 and need to send a JPEG version to my cl

  • How to do price comparision in ME49 based on net price

    Dear Experts, I have a problem while doing price comparision I have two RFQ's for the material with same gross price(15). But i have some additional conditions like frieght 20% in second RFQ. So the net price is 18 in the second RFQ. But while doing

  • I don't have iBooks in OS X Mavericks

    I can't find iBooks in my Mac The rest of Mavericks works well, but I can't open iBooks If I try to open one of them, I get a message saying there's not an app that can open it If I go to the App Store and search for iBooks, I don't find it I only fi

  • I am in daze suddenly by this simple question

    warning: [deprecation]readLine() in java.io.DataInputStream has been deprecated. How to modify it? Thanks void inputscan( fileInfo pinfo ) throws IOException        String linebuffer;        pinfo.maxLine = 0;        while ((linebuffer = pinfo.file.r

  • ITunes Screensaver cannot find artwork

    iMac 24", i5 Lion all software updated iTunes screensaver says the library does not contain any artwork. In iTunes, I have 33,000 tracks, all with artwork (not one exception) Architecturally, the setup is traditional, though the iTunes Media file is