This is a discussion on Dynamic REST Web Service within the Salesforce Coding Discussions forums, part of the Salesforce category; Hi,
I don't suppose anyone would know how to call a dynamic
-
Dynamic REST Web Service
Hi,
I don't suppose anyone would know how to call a dynamic webservice from within SalesForce ideally via a trigger or S-Control.
What I am trying to achieve is as follows:
Opportunity runs its course until it is closed / won.
At this stage based on the opportunity type it wil link to an external service and create a new project ( opportunity Name ), default milestones + Tickets ( custom Objects ) and a svn repository ( opportunity Name ).
The webservice is based on a dynamic subdomain basis and requires a administration username and password to create new projects. Again I have created a custom object to store these details.
At present I am thinking of uploading Prototyle or Jquery Libraries and writing s-Control snippets and attaching them to buttons.
Any advise would really help.
Thanks
Barry
-

Originally Posted by
barrylast
Hi,
I don't suppose anyone would know how to call a dynamic webservice from within SalesForce ideally via a trigger or S-Control.
What I am trying to achieve is as follows:
Opportunity runs its course until it is closed / won.
At this stage based on the opportunity type it wil link to an external service and create a new project ( opportunity Name ), default milestones + Tickets ( custom Objects ) and a svn repository ( opportunity Name ).
The webservice is based on a dynamic subdomain basis and requires a administration username and password to create new projects. Again I have created a custom object to store these details.
At present I am thinking of uploading Prototyle or Jquery Libraries and writing s-Control snippets and attaching them to buttons.
Any advise would really help.
Thanks
Barry
I asked your first question at DreamForce and it cannot be done at this time. I understand that they are going to allow a call to an external web service via the triggers in the near future
and when you say you are going to upload prototype or jquery libraries to where? Your salesforce Org?
Honestly I dont think that will work either
but if you can get it to work, shoot go for it and please let me know how it goes
~Mike
-
Hi Mike,
Thanks that kind of put the spanner in the works.
I will now have to look into a couple of other options.
Writing an API mash-up that would link both systems together, however I would stil like the entire process automated.
Alternatively see if can hack some javascript into a s-control snippet which is called on button press.
-

Originally Posted by
barrylast
Hi Mike,
Thanks that kind of put the spanner in the works.
I will now have to look into a couple of other options.
Writing an API mash-up that would link both systems together, however I would stil like the entire process automated.
Alternatively see if can hack some javascript into a s-control snippet which is called on button press.

Are you wanting to include some javascript in an s-control that calls an external service? I am not sure that can be done either, but I may be off totally on that. If that does work, please share what you are doing, I am totally interested
Good luck with your custom scripting, sounds interesting
~Mike
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Bookmarks