on 04-25-2011 10:04 PM
Dear experts,
Business Scenario : " To get the machine name on which crm web ui is running and save it in BSPWD component local variable"
we need to read the machine name on which url is running.
Have you done any thing similar for BSPWD component ,Please comment.
Regards
Sumit
Hi Sumit,
The view controller class has a public attribute called server ( Type Ref to IF_HTTP_SERVER). Using this, you can call the following method to get the host location:
runtime->get_location( )
One of the exporting parameters of this method is HOST.
You can check the following method to see how this method can be called:
CL_BSP_RUNTIME=>IF_BSP_RUNTIME~CONSTRUCT_BSP_URL( )
Regards,
Shiromani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Robert ,
You have write a small javascript function that reads the local machine name and post the same to server as cookie or form parameters . Then on CRM side you have to read the cookie / form parameters and save that local variable and this is basic concept we can achieve this .
Let me know if you need more help here .
Regards
Sumit
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.