IPA - Webrun used to update Landmark

 8 Replies
 2 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Scooter
Veteran Member Send Private Message
Posts: 83
Veteran Member

I would have used Landmark Transaction node to update user's profile. 

Not sure why previous developer coded like this.  See below code string and this is only a small part of entire code string.

If anyone can explain why it was coded this way, please reply.  

I don't see advantage and this code is very difficult to maintain.

WebRun Code (partial string) - code is executed from a WebRun node. 

/scwebadminapp/ResourceManagementServlet?TASKTYPE=PROVISIONING&OBJECTTYPE=IDENTITY&CREATOR=lawson&PRIORITY=1&ACTIONTYPE=create&PAYLOAD=Identity%3DUSER%3A%2520USER%3D%2520PASSWORD%3D%2520%2520Service%3DSSOP%2520%

David Williams
Veteran Member Send Private Message
Posts: 1127
Veteran Member
Is the update occurring on the same Landmark server? I have used something like this to check the Workunit status of the multi-tenant system from the single tenant system (when there were some issues, since resolved).
David Williams
Scooter
Veteran Member Send Private Message
Posts: 83
Veteran Member
Another question - does anyone know how to execute this code from Internet Explorer?
Would we need Landmark server name?
Possibly, https://landmark.org//scw...E=IDENTITY&CREATOR=l ...... ....... ......
David Williams
Veteran Member Send Private Message
Posts: 1127
Veteran Member
Yes, you can submit the web call from your browser and yes, you need the Landmark server reference.
David Williams
Scooter
Veteran Member Send Private Message
Posts: 83
Veteran Member
Thanks for the reply.
Scooter
Veteran Member Send Private Message
Posts: 83
Veteran Member

David,

Are there any advantages to coding LM updates this way?

Seems like a RM Update or LM Trxns node would be easier to code and maintain.

Those are the nodes I used in the past. 

Any idea, how the previous developer created the code string?  Thanks.

i.e.   /scwebadminapp/ResourceManagementServlet?TASKTYPE=PROVISIONING&OBJECTTYPE=IDENTITY&CREATOR=lawson&PRIORITY=1&ACTIONTYPE=create& ...

David Williams
Veteran Member Send Private Message
Posts: 1127
Veteran Member
The only advantage is if the code is being executed on a different server or, perhaps, data area (on the same server).
I would imagine they developed it with a lot of trial and error, testing it by running as a URL in the browser (that's what I would have done).
David Williams
Scooter
Veteran Member Send Private Message
Posts: 83
Veteran Member
Does anyone know how such code is generated? See partial code string below. I believe this code only updates LSF security.

/scwebadminapp/ResourceManagementServlet?TASKTYPE=PROVISIONING
&OBJECTTYPE=IDENTITY&CREATOR=lawson&PRIORITY=1&ACTIONTYPE=create&PAYLOAD=Identity%3DUSER%3A%2520USER%3D%2520PASSWORD%3D%2520%2520Service%3DSSOP%25 … … …. ….
JimY
Veteran Member Send Private Message
Posts: 510
Veteran Member
you might use Fiddler in combination with ISS to get the format.