Question

2
Replies
6677
Views
Chris Wakefield (ChrisW17)
StepChange Debt Charity
Pega System Architect
StepChange Debt Charity
GB
ChrisW17 Member since 2017 2 posts
StepChange Debt Charity
Posted: October 11, 2017
Last activity: October 16, 2018
Posted: 11 Oct 2017 4:31 EDT
Last activity: 16 Oct 2018 12:03 EDT
Closed
Solved

Inserting a new row to Data Table (Local Storage)

Hi,


Firstly, I'm new to Pega so please forgive any mistakes in terminology.


I am trying to insert a new record to local storage data source, and although it works I get an error on the UI as follows:



As mentioned, it does work in terms of committing data to the table on a button press, but then when i press the button again to add another row, it breaks down.


The button calls the following activity to add the operator ID and the current time to the table. The error only occurs when I press the button for the second time, leading me to believe that I should be closing the activity off in some way before running it again?:


Show More

Hi,

Firstly, I'm new to Pega so please forgive any mistakes in terminology.

I am trying to insert a new record to local storage data source, and although it works I get an error on the UI as follows:

As mentioned, it does work in terms of committing data to the table on a button press, but then when i press the button again to add another row, it breaks down.

The button calls the following activity to add the operator ID and the current time to the table. The error only occurs when I press the button for the second time, leading me to believe that I should be closing the activity off in some way before running it again?:

If it helps, here is the UI (this won't be a live app, just something I'm building to learn):

Thanks in advance.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Show Less
Pega Academy
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.