cancel
Showing results for 
Search instead for 
Did you mean: 

To create actions on transaction screens in agentry

former_member223904
Participant
0 Kudos

Hi Experts,

Please help me whether any alternative method is there to add actions and buttons in transaction screens in agentry application.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sandeep,

Buttons within a transaction screen which trigger actions are not supported in Agentry.

You can add controls of type "Button" and configure them to be Checkboxes or Radiobuttons though.

former_member223904
Participant
0 Kudos

Hi Christian,

I am having an requirement where i need to add a button on transaction screen which will trigger th open ui class to receive XY coordinates from GIS application to agentry. So Can you please help me how to resolve this.

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Are you just trying to get the current location coordinates or some specific coordinates that the user selected in the GIS application?

Also, what platform / version are you running?

Agentry does have built in controls to get the current location coordinates from the device that can be used on transaction screens (Field Edit Type: Location).

--Bill

former_member223904
Participant
0 Kudos

Hi Bill,

We are using External geo field application from there we are getting specific coordinates. We are using WPF windows platform. agentry editor version is 7.0.0.537 and WPF clent version is

7.0.5.7.Please help how to get specific coordiantes from external GIS applicaion to agentry in WPF platform.

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

First off I would recommend upgrading your Editor to be on par with your SMP server.

In terms of how to make this happen, that will depend heavily on your external application and what types of APIs it has available.  Can it be "embedded" within the Agentry application. How it exposes the coordinates etc.

--Bill

Former Member
0 Kudos

I've written a similar OpenUI control on Windows (WPF client) to read the GPS coordinates of the Windows tablet via the Windows GeoLocation API. I've defined external values on the Agentry UI control which loads the OpenUI control. When one of the External Values is accessed e.g. through a Agentry rule, method GetExtensionString(string key) of the OpenUI control is called, fetches the GPS location property which was requested and returns it.

(It also has some additional logic which live updates the GPS position on the transaction screen as a string (so that the user sees the updated location as he moves along))

So, instead of implementing an OpenUI button, you might want to just have another field on which you put an Update Rule which then accesses the External Values of your OpenUI control to retrieve the location data.

Answers (0)