CRM On Demand - Administration (MOSC)

MOSC Banner

CRMOD Javascript API Developer's Guide

Bijay Soren-Oracle
Bijay Soren-Oracle Posts: 659 Silver Trophy
edited Feb 19, 2014 1:36AM in CRM On Demand - Administration (MOSC) 6 comments

Comments

  • user12964426
    user12964426 Posts: 1 Green Ribbon
    edited Feb 19, 2014 11:08AM

    Hi,

    I'm trying to use the readRecord method. I've managed to get it to work with the searchType rowId but I would like to know if it is possible to use another field instead (like External Unique Id or Alias for user).

    Could you please tell me what are the possible values for the searchType ? (I couldn't find this in the guide)

    Thank you for your help !

    PS : I think there is a typo in the guide : a double quote is missing after the rowId.

    oraclecrmod.dataSvc.readRecord("Account", "Name,Description", { searchType:"rowId", "rowId": "1QA2-TNRWW},callback);

  • MKH-OC
    MKH-OC Posts: 427 Silver Badge

    Bijay-

    Do you know of any webinars or additional documentation on this feature that would show more examples and step by step set up?  I have created a few web applets and would like to learn more about using this method.

    Thanks

    Mary

  • Bijay Soren-Oracle
    Bijay Soren-Oracle Posts: 659 Silver Trophy
    edited Feb 21, 2014 2:30AM

    Hi,

    I'm trying to use the readRecord method. I've managed to get it to work with the searchType rowId but I would like to know if it is possible to use another field instead (like External Unique Id or Alias for user).

    Could you please tell me what are the possible values for the searchType ? (I couldn't find this in the guide)

    Thank you for your help !

    PS : I think there is a typo in the guide : a double quote is missing after the rowId.

    oraclecrmod.dataSvc.readRecord("Account", "Name,Description", { searchType:"rowId", "rowId": "1QA2-TNRWW},callback);

    Yes, there should be double quote are rowId value.

    It does not look it is possible to use other paramenter as searchType.

    Tried with "Name" searchType but got following attached error message.


    Error.jpg

    Below is the description given for this error code in the guide :

    Code: SBL-ODU-00271

    Message: Invalid value for the parameter: parameter_name.

    Description: The parameter for the CRUD operation

    specified a null or empty objectName

    parameter, a nonexistent objectName

    (for example, “Acount”), or a null or

    empty row ID.

  • Bijay Soren-Oracle
    Bijay Soren-Oracle Posts: 659 Silver Trophy

    Bijay-

    Do you know of any webinars or additional documentation on this feature that would show more examples and step by step set up?  I have created a few web applets and would like to learn more about using this method.

    Thanks

    Mary

    Hi Mary,

    I am not aware of any webinars, but the guide has few sample examples, which covers most of the methods.

    Regards,

    Bijay

  • Camelia G -Oracle
    Camelia G -Oracle Posts: 205 Silver Badge

    Bijay-

    Do you know of any webinars or additional documentation on this feature that would show more examples and step by step set up?  I have created a few web applets and would like to learn more about using this method.

    Thanks

    Mary

    Hi Mary,


    A webinar for JavaScript API can be found on the Training and Support Center in CRM On Demand Release 24 Transfer of Information (TOI):

    CRM On Demand Release 24 JavaScript API -

    http://oukc.oracle.com/static12/opn/events12/107994_100113/090613_107994_source/index.htm

    Regards,

    Camelia


  • MKH-OC
    MKH-OC Posts: 427 Silver Badge

    Hi Mary,


    A webinar for JavaScript API can be found on the Training and Support Center in CRM On Demand Release 24 Transfer of Information (TOI):

    CRM On Demand Release 24 JavaScript API -

    http://oukc.oracle.com/static12/opn/events12/107994_100113/090613_107994_source/index.htm

    Regards,

    Camelia


    Thank you Camelia! That is what i was looking for and it was very helpful!

    Mary

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center