cancel
Showing results for 
Search instead for 
Did you mean: 

How to Read Agentry values in OpenUI.?

Former Member
0 Kudos

Hello Experts

Reshma Pithade,

Mohit Tyagi,

Bill Froelich

I am new at open UI and I want to read some agentry values from Agentry work manager 6.0 and use this values in open UI.I am having upload document screen and from that screen I want to read file name and file path from agentry and use it in OpenUI.For that I added two Agentry values in the fields.But I am little bit confused that how can I use this values in adapter class, If any one having some steps related to this it will help me alot to go forward.

Regards

Prajakta

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Prajakta,

To read agentry values in OpenUI you need to use SMP 3.0 as Stephen mentioned.

First you have to create one editType say string editType in agentry.

Then set some value to that editType.

Now in android code you need to include following line:

String val = _model.getAgentryString(_keyText.getText().toString());

here, _keyText is the name of edittype which you specify on agentry side.

Hope this will help you.

Regards,

Reshma

Former Member
0 Kudos

Hello Reshma,

I tried as per your suggestion but still getting null values.Please suggest what I have to add more in the open ui code

Regards

Prajakta

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Prajakta,

What platform are you working with for your Open UI adapter?  Each platform is similar but not exactly the same.

--Bill

stephen_kringas
Active Participant
0 Kudos

Hi Prajakta,

What version of SMP are you using? 2.3 or 3.0?


Assuming you're using SMP 3.0 (Don't believe SMP 2.3 supports OpenUI), the SMP SDK contains sample OpenUI projects for each platform.


Refer to the below folder path where you've installed Mobile SDK


<Installation Drive>\SAP\MobileSDK3\AgentryToolkit\OpenUISDK\


Also refer to the SAP Help Documentation -


http://help.sap.com/saphelp_smp308sdk/helpdata/en/7c/0591b97006101489caceb9dee3539e/content.htm


Regards,

Stephen