Trying to create a special link via the API

I've seen a few other questions here on this topic, but not really answers. Of course those who were really old so perhaps there were not many people around with the necessary experience.

In any case, I have a few hundred users for which I would like to create special links to Active Directory. The events of reconciliation exist, so I would try to do some IMO don't when it creates a special bond. Here's the current state of the code:

{} public updateUser (user, event ReconEvent) Sub

EventService = oimClient.getService (ReconOperationsService.class) ReconOperationsService;

UserManager userService = oimClient.getService (UserManager.class);

Long userId = Long.decode (user.getId ());

If (event.getReStatus () .equals ("No Match Found user")) {}

try {}

eventService.linkEventToUser (event.getReKey (), username);

} catch (Exception e) {}

e.printStackTrace ();

return;

}

}

}

Now, when I run the present I get this exception:

Thor.API.Exceptions.tcAPIException: An exception occurred: unknown entity type account with ID 981 591


Y at - there anyone out there who got something like this works?

OK, so I figured out, and since I shared the pain I think I might as well share the joy.

The trick here is that, since it is a target resource I wrong to think this is link - I guess that the user interface is a bit misleading in this way. What I had to do was rather to create a user account. So I tried this:

 public void updateUser(User user, ReconEvent event) {
        EventMgmtService eventService = oimClient.getService(EventMgmtService.class);
        UserManager userService = oimClient.getService(UserManager.class);
        Long userId = Long.decode(user.getId());

        if (event.getReStatus().equals("No User Match Found")) {
            try {
                eventService.createAccount(event.getReKey(), userId, "USER", "xelsysadm",
                                           "Manual Linking", "Linked acccount via API",
                                           false);
            } catch (Exception e) {
                e.printStackTrace();
                return;
            }
        }

And Yes, it works! It's exactly what I want, which is to create something like the Ad - Hoc UI transitional link.

Yay!

Tags: Fusion Middleware

Similar Questions

  • Create these special characters in the name of the file as test.? docx or test? PDF in the OS window

    Hello

    Is there a possible way to create these special characters in the name of the file as test.? docx or test? PDF to test the goal?

    I do programming to detect this type of special characters in the file name. This modified script will this type of invalid char file appropriate name, so I need to have the sample to check if my script works.

    I have OSX or Linux. Is there no workaround solution I created in the window itself?

    or can someone create for me so I can go and download instead?

    Thank you and best regards,
    back4more

    Hi Backformore,

    Thanks for posting your question in the Microsoft answers Forum. For any question concerning the development of programs, visit the MSDN hereforums.

  • tried to create a private folder for the work of the book as the in-laws use our computer but don't know where to start and it seems to have sent the info im trying to hide anywhere please help

    tried to create a private folder for the work of the book as the in-laws use our computer but don't know where to start and it seems to have sent the info im trying to hide in every sense, please help, its windows 7 we have, I will learn more about computer but now I have to stop my son-inlaw through my belongings on the computer

    Nancy

                                                   

    Hi Nancy,.

    Encryption of files and folders is a way to protect against unauthorized access. EFS (ENCRYPTING File System) is a Windows feature that you can use to store information on your hard disk in an encrypted format. Encryption is the best protection that Windows provides to help you keep your information secure.

    You can make a folder and then encrypt it.

    http://Windows.Microsoft.com/en-in/Windows7/encrypt-or-decrypt-a-folder-or-file

    Good day!

    Answer please if you face concerns.

  • Create new Orgs by using the API (hr_organization_api.create_hr_organization) and details additional Org Unit

    Hello

    I created some orgs again using the API (hr_organization_api.create_hr_organization)

    I also want to create additional details Org Unit FDF but not sure which API to use.

    I am trying to insert data into attriubute1, 2 and 3 of the table to hr_all_organization_units by using the API, however the hr_organization_api.create_hr_organization API only allows me to use a segments of1 to 30 in the parameters of the API and NOT the attribute columns

    Can someone please suggest.

    Thank you

    Hello

    As you have rightly noted, hr_organization_api.create_hr_organization is not the settings to meet the ATTRIBUTE?.

    You could try calling the hr_organization_api.update_organization with the "p_organization_id" returned by the API call 'create '.

    Kind regards

    Rajen

  • How to activate the vmotion via the api?

    I could enable vMotion on the ESXi via the api?

    Take a look at this script http://communities.vmware.com/docs/DOC-11775 , which implements the vSphere API to enable vMotion and other types of traffic VMkernel

  • App rejected by apple 11.13.  Referenced the 'Create an account' link in the login box

    We have a right multi-folio (Enterprise level) application allows us to authenticate to our customers of current subscribers.  In various parts of the app we link to the site where a user can create an account and authenticate this account with a subscriber number.  The link goes to our site.  We are not trying to sell subscriptions through this process.

    The message from apple was the following:

    "The displayed pages have links to external pages for creating an account. The Connect dialog box also has a link to create an account that connects to the same Web page. It is illegal to 11,13 "

    It is the creation of account mentioned by Apple URL:

    http://www.ainonline.com/dpsregistrationform_isSubscriber

    Nothing has changed about this process, since we launched the app in April and now we cannot update the application.  Need to make the account creation process a function in application?  DPS has the tools to do this?  I imagine that most of the editors need a way to authenticate current submarines via some sort of authentication process and the App Builder has only an option to post a link to an external URL.

    Any guidance would be greatly appreciated - thanks.

    Dave

    Make sure your external Web site not to allow the purchase of a subscription and then appeal the rejection. The guideline says:

    "Apps that link to external mechanisms for purchases or subscriptions to use in the application, such as a 'buy' button that goes to a website to buy a digital book, must be rejected."

    Let them know that she does not allow the purchase of the subscription and is only to create an account for use in the application.

    Neil

  • How to create an active link in the Pages?

    I use Pages 5.6.2. I type a paper and try to include active links in the text (for example, 'the Church', which would take the player to a certain image/site). But by following the instructions to this effect in the "Help menu", my attempts to always default link on www.apple.com. Any suggestions? Thank you very much.

    Hi EdMusical,

    I understand you are trying to add links to your Pages document, but they are default Apple.com. I know it's nice to enrich your documents in this way, so I'm happy to help you.

    Because your links go to Apple.com, by default, looks like you can not be remove the sample text in the box when you prompt for what URL you want the link to train. This page provides more details on the use of this feature:

    Pages for Mac 5.0: link text in a document

    Turn text into a link

    You can use a word or an expression as a link without displaying the URL or e-mail address in your document.

    1. Select the text, click on inserer insert in the toolbar, and then choose Add a link.

      The window opens with the selected text in the display area.

    2. Enter the full URL in the link field.

    3. Click open to check the link.

  • Slow or no response to a link via the menu but via image ok, why

    On the www.beverlypressey.com site, the menu topline has a slow or no response to a link so that the image links to the same work of pages very well all the time. How can I fix it or why it is happening?

    Hello

    First remove this from your active statement.

    position: absolute;
    

    You can also remove the h1 tag and format links using css as required.

    PZ

    Status of the link last went to the active

    Post edited by: pziecina

  • Get to Eloqua 9 data via the API?

    Can anyone shed light on what is available via the Eloqua9 API to get the Eloqua data and also have a system (such as SQL2012) external data in Eloqua push? We are trying to implement the data cleanup efforts in our new tool of Data Quality Services and we would like to integrate with Eloqua. Can you give us some insight and detail on what we can and cannot do?

    Dennis,

    It depends on your business case here and the volume of data.

    Eloqua offers various options of the Soap API & REST.

    Also low volume & bulk options as well.

    For E9, you can start going through the documentation of the Soap API at the following link: -.

    https://www.eloquatrainingcenter.com/Portal/documentation/API/default.htm

    For authentication and exploitation of low volume of use of the WSDL for the Service: https://secure.eloqua.com/API/1.2/Service.svc?wsdl

    More data volume use the WSDL Service of data: https://secure.eloqua.com/API/1.2/DataTransferService.svc?wsdl

    An air of challenge, you can accomplish connecting SQL2012 to Eloqua defining HTTP endpoints and using components of script for mappings of field and transfer data using SSIS.

    For a more robust solution I would develop a .net stand alone application, and you can call it of SSIS in order automation and business intelligence.

    Good luck

    Daniel Nader Shaheen

  • Calls via the API

    Hi all

    We are currently working on a web form, we have created a number of calls. Ideally, we would like a call from the parents and a couple of related calls that would be created in the screen through the API.

    Looking the doco, it seems you should be able to use the 'aCustomParameters' field to achieve this. However, I just see KB 2010464, which seems to indicate that it wouldn't quite as simle as this (9.0 in any case).

    I was wondering if someone actually did.

    We're currently on 9.1.5.

    See you soon,.

    Ray

    It's a little weird. Because I did a few tests before posting my previous answers.

    I tried to link two existing calls with two CallUpdate transactions (but not link to CallCreate) and it worked really well.

    Execute transactions of ExecuteQueryAction gave positive results as well.

    So could you explain how you were doing the binding? Your note "creating new calls related appeal existing parent" I guess you do somehow differently.

    Another reason could be the version of the product. I did my tests on 9.2.0. So I guess that it is absolutely possible that something was set inside the API code from 9.1.5.

    Gytis


    Edit: I tried to bind a call at the time where it is created with the CallCreate transaction (also, you need to update parent after that). Works fine as well.

  • Followed lead changes and deletions via the API

    Hello

    We use the API block for extract contacts and records every night for the storage of data.  For now, enter us all the records where the field of creation or last update happened the last time sync ran.  Since a large number of areas (e.g. partitions) are updated, which seems to result in almost a full (slow) re - sync every day.  Also, that leash not does any way to identify that were deleted to Eloqua, then we can also remove it from our warehouse.  Is there a better way to do it?  It doesn't seem like there is no available activities representing the field changes or deletes Records unless I'm missing something.

    Thank you

    Shane

    Hi Shane,

    Unfortunately at this time, the only way to draw from these data is the date of last modification, which as you know is updated on the update of any field. Subscribe to specific field changes and destruction Records are things we look for in the implementation via the Firehose API, however, there is no firm plan in place yet.

    Thank you

    Chris

  • symbol to create and animate (example of the API work doc?)

    May be missing something simple, but it doesn't seem to work and it is just out of the API doc

    new movie of edge.

    make a rectangle - convert to symbol with the name 'kitten_paw '.

    remove from the scene

    Paste this code in the timeline (for example to 1000)

    sym.createChildSymbol ("kitten_paw", "Stage");

    var kitten_sym = kitten_paw.getSymbolElement ();

    kitten_sym. Animate ({opacity: 0}, 500);

    It creates the object but does not - animate and console returns an error - error edge.2.0.1.min.js:162Javascript in the handler! Type of event = timeline

    Am I missing something?

    Thank you!

    Try this:

    var kitten_paw = sym.createChildSymbol ("kitten_paw", "Stage");

    var kitten_sym = kitten_paw.getSymbolElement ();

    kitten_sym. Animate ({opacity: 0}, 500);

  • How reduce/resize the width of the objects (AIArtHandle) via the API?

    Hi all

    I want to know how can I resize the width / length of s?

    I went through the API and got some useful suite as AITransformArtSuite. But I'm unable to use its TransformArt method. given that I don't know how to create the appropriate AIRealMatrix.

    Please show me how to do it.

    Thank you

    D.A.

    Hello

    I use the AITransformArtSuite like this:

    Matrix AIRealMatrix;

    Linda ScaleX, ScaleY;

    AIArtHandle MyArt.

    sMath-> AIRealMatrixSetIdentity (& matrix);

    ScaleX = 0.5;

    ScaleY = 0.5;

    sMath-> AIRealMatrixSetScale (& matrix, ScaleX, ScaleY);

    error = sAITransformArt-> TransformArt (MyArt, & matrix, 1.0, kTransformObjects);

    For me, it works.

    JLG.

  • How to set the digital format via the API

    Hello

    I have a utility that imports limit of external resources and that the utility (c#) I would need to change the digital representation so that what is defined as hex in the external resource should appear after imported to TS so hexa.

    Can U help out me if it is possible with the API, and if so, what is the good methods for doing this?

    Thanks in advance.

    Hello

    Only a few minutes ago, we have found this solution work:

    x.NumericFormat = "%#X";  where x is the PropertyObject pointing to the number. It is just not documented anywhere for this method that you can use X for hex.

  • Cannot update the metadata via the API

    Is there something wrong with the simple ordinary call?

    curl-x PUT d ' data = {"version": "0.2.0"}' https://build.PhoneGap.com/API/v1/apps/234...0?auth_token=x...Y

    I want to just update the title and some version information in the application before the build... but even if I get a 200 and information, the version is not updated.

    Any ideas?

    Yes as said Kerri, meta-data need to be updated through the config.xml file. It looks that the docs indicate that the meta-data can be updated through the API settings, but this isn't the case. Ensure that the updated docs up-to-date.

Maybe you are looking for