none
Webservices

    Question

  • Hi all,

    I have written a webservice to create a new record (custom entity). How can i open that record after creating by using webservice.

    Regards,
    Rajsekhar
    Monday, May 18, 2009 4:35 AM

Answers

  • Hi, Rajsekhar.

    When record is created you can retrieve its GUID. So a little bit change your developed web service to return GUID of newly created record and after service call add following script to open form of created record:

    var url = '/'+ORG_UNIQUE_NAME + '/userdefined/edit.aspx?id='+GUID+'&etc='+entitytypecode;

    window.open(url);

    Truth is opened the prepared mind My blog - http://a33ik.blogspot.com
    • Marked as answer by Golden Fish Monday, May 18, 2009 7:17 AM
    Monday, May 18, 2009 5:32 AM
    Moderator