locked
ISV.config + pass parameters option problem RRS feed

  • Question

  • Hello guys, i'm facing with a problem with ISV.config file when i'm trying to pass parameters throught query string. I want to pass the userid but i dont know how to do this. Any idea ?
    Wednesday, September 16, 2009 6:29 PM

Answers

  • Hi.

    If this ISV control placed on form you can easily use crmForm.ObjectId in your JavaScript - this will give you identifier of current record.
    Truth is opened the prepared mind My blog - http://a33ik.blogspot.com
    Wednesday, September 16, 2009 7:36 PM
    Moderator

All replies

  • Hi, Benjamin.

    You can use following steps to meet your requirements:
    1. You have to use JavaScript node instead of use URL node in controlls.
    2. In JavaScript you have to use WhoAmI message to retrieve your identifier. Sample .
    3. Create URL using contatenating of stable (url) and variable (identifier) part.
    4. Open new window with window.open() method.

    Truth is opened the prepared mind My blog - http://a33ik.blogspot.com
    Wednesday, September 16, 2009 7:04 PM
    Moderator
  • Hi, Benjamin.

    You can use following steps to meet your requirements:
    1. You have to use JavaScript node instead of use URL node in your ISV controlls.
    2. In JavaScript you have to use WhoAmI message to retrieve your identifier. Sample .
    3. Create URL using contatenating of stable (url) and variable (identifier) part.
    4. Open new window with window.open() method.

    Truth is opened the prepared mind My blog - http://a33ik.blogspot.com
    Wednesday, September 16, 2009 7:04 PM
    Moderator
  • Ok, but how i can get the current entityid using soap ? This is the question :P

    Wednesday, September 16, 2009 7:32 PM
  • Hi.

    If this ISV control placed on form you can easily use crmForm.ObjectId in your JavaScript - this will give you identifier of current record.
    Truth is opened the prepared mind My blog - http://a33ik.blogspot.com
    Wednesday, September 16, 2009 7:36 PM
    Moderator
  • I was not thinking in this :), tyvm.

    Wednesday, September 16, 2009 8:25 PM