cancel
Showing results for 
Search instead for 
Did you mean: 

How to insert values into collection object

kngupta141
Participant
0 Kudos

Hi,

I have set of question and answers in a a screen set, i want to insert those values into collection which is available in transaction level.

How do i do that

Thanks and regards,

Gupta

Tags edited by: Michael Appleby

Accepted Solutions (1)

Accepted Solutions (1)

jason_latko
Advisor
Advisor
0 Kudos

Gupta,

We need more information to help.  You already have question and answer fields populated on a detail screen and want to copy the data to another object collection?  Please clarify your requirement and why you need to do this?  Thanks,

Jason Latko - Senior Product Developer at SAP

kngupta141
Participant
0 Kudos

Hi Jason,

During survey creation i pull data from complex table and post some question to complete the survey. Once the survey is completed if the user hit finish then i need to save that question and answers  to survey collection object.

How do i that.

Regards,

Gupta

jason_latko
Advisor
Advisor
0 Kudos

Gupta,

What Agentry product are you using for surveys, Sales, Work Manager, Service Manager?  Doesn't the product already save the user's answers to the correct survey collection?  Without further details I can't really even suggest a solution.

If you are confused on basic transactions and actions in Agentry I would suggest reading some of the platform documentation found on the "Agentry is here to stay" landing page.

To add objects to a collection:  You need to build a transaction against the object iteself, then add an action that contains the transaction step with an apply to commit the data.  The transaction is filled with the properties of the object that you can set individually using the various initial value options for each property.  You can tie them to other objects, use rules to set them, or hard-code values.  You can also use the object browser to scrape field values off screens that are displayed or are loaded into memory.  This should give you a start.

Jason Latko - Senior Product Developer at SAP

kngupta141
Participant
0 Kudos

Hi Jason,

It is a work manager but it is a totally customized application. In the previous customization we are bringing this question in multiple screens but in new design we thought of displaying questions in same screen.

Regards,

Gupta

kngupta141
Participant
0 Kudos

Solved by own. By choosing a Last object the values will get appended. I am not aware of this. Thanks for every one

Answers (1)

Answers (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Can you please share more details about what kind of all you are developing using which platform? Offline or online?

Rgrds,

Jitendra

kngupta141
Participant
0 Kudos

Hi Jitendra,

sorry for that,

I am working on Agentry, my application support both online and offline.

Regards,

Gupta

kngupta141
Participant
0 Kudos

Can any one provide a solution for it