Sitemap

Amicuk Programming Answers

Back button to re-edit form..."Current version of data..." error?

-0001-11-30   Views:0

Advertisement

I've noticed a fairly common error that my users are running into. Here is the situation... A user navigates to a form...makes modifications...saves the form...and is redirected to another page. Then, the user clicks the browser back button to re-edi

I've noticed a fairly common error that my users are running into. Here is the situation...
A user navigates to a form...makes modifications...saves the form...and is redirected to another page. Then, the user clicks the browser back button to re-edit the form...saves the form and gets the following error...
"...Current version of data in database has changed since user initiated update process...."
I am currently running v2.0...but I was able to also duplicate the issue within v3 (online...Customer Tracker sample application).
Is there any way to catch the error to display a custom message?
Or maybe some settings that I am missing to guarantee that when the user clicks the back button, the page is refreshed so it doesn't show the cached version with the old data?
Or maybe there is another way to approach this?
Thanks...
Matt

The replay answer
Advertisement
Matt,
This is functioning exactly as it should... Imagine what could happen if it didn't work that way! People would overwrite other's information all the time.
I think the solution you need is two fold: user training and app modifications.
I know what you're thinking, user training, hah! But it's going to help as you make more of these kinds of web apps.
As for app modifications there are two I can think of that may help.
1. I don't know how the users open the app but if they click on a link then you can have the popup window open without tool bars and such (but they still have the backspace on the keyboard).
2. Add a button on the page they are redirected to after saving the form. Make the condition of the back button "If item is not null" and put PXX_ITEM_NAME in expression 1.
Then create the item you just put in expression 1as display as text (saves state). Set the condition to never. Now go to the page with the form, and create a process that sets PXX_ITEM_NAME equal to the value of the item used as the primary key for the form. Make sure the process only fires after an update is made.
Then when the users get to the page after making a modification they will see a "back" button.
The last step is to create a branch that will take the user back to the form if they click the button and populates the form item for the primary key.
Let me know if this is making any sense or not.
Dan
Dan

Go to See the other 2 answers

Back button to re-edit form..."Current version of data..." error?

Category:DefaultRelease time:-0001-11-30Views:130

I've noticed a fairly common error that my users are running into. Here is the situation... A user navigates to a form...makes modifications...saves the form...and is redirected to another page. Then, the user clicks the browser back button to re-edi[More]

How do i add an email button to an editable pdf

Category:DefaultRelease time:2015-10-11Views:130

how do i add an email button to an editable pdfHi Rocco290, You will need Acrobat to add an email button to that PDF. Here are instructions from the Acrobat X Help: http://help.adobe.com/en_US/acrobat/X/pro/using/WSBB6EF75F-BC3D-4094-B787-FB76DAE1EBD[More]

Toshiba 32W1333DN: buttons moving/deleting/edit name for channels missing

Category:DefaultRelease time:-0001-11-30Views:130

Hello, I just bought 32W1333DN in Sweden. But I cannot change the position of channels in the channel list. Both the Quick start guide that comes in the box with the TV and the online manual has images and details about how to move channels/delete ch[More]

I had a trial version, and tonight I bought it.  But buttons led me to the Windows version which I accidentally bought.  I have Mac.  What do I do?  How do I switch it over to a Mac version?

Category:DefaultRelease time:2015-10-11Views:130

I had a trial version, and tonight I bought it.  But buttons led me to the Windows version which I accidentally bought.  I have a Mac.  What do I do?  How do I switch to Mac version?Hi scarabs55, Are you working with Acrobat or Photosohp? (You mentio[More]

Any suggestions for programs that can convert mpeg1 to a format that can be edited in iMovie Version 8.0.6 (821) and/or iMovie HD Version 6.0.3 (267.2) Thanks

Category:DefaultRelease time:-0001-11-30Views:130

Any suggestions for programs that can convert mpeg1 to a format that can be edited in iMovie Version 8.0.6 (821) and/or iMovie HD Version 6.0.3 (267.2) ThanksHi Mark Was just looking for the answer to this exact question and I just found something th[More]

Where is the shopping button I had on the last version

Category:DefaultRelease time:-0001-11-30Views:130

I have just downloaded the new version....where is the shopping button I had on the previous version ? How can I go back to the previous version ??Firefox has never had a shopping button, that was likely added by an extension. As the button has gone[More]

What's the latest version of macbook or mackbook pro with mouse buttons?, what's the latest version of macbook or mackbook pro with mouse buttons?

Category:DefaultRelease time:-0001-11-30Views:130

what's the latest version of macbook or mackbook pro with mouse buttons?, what's the latest version of macbook or mackbook pro with mouse buttons?Are you talking about MacBooks and MacBook Pros with the two buttons at the bottom of the trackpad and n[More]

Is editing a previous version possible?

Category:DefaultRelease time:-0001-11-30Views:130

I have read through the Developer Reference (9.0.1) section on Versioning but I couldn't find the answer to this question. Is it possible to edit a previous version of a public object? I understand I can have the Family ID reference a previous versio[More]

HT4623 my phone main button not working after installed new version software 7.0.6

Category:DefaultRelease time:-0001-11-30Views:130

my phone main button not working after installed new version software 7.0.6Arrange some liquid like petrol spirit and w 40 two drops in to home button. 30 times press slowly slowly and then restart your apply iphone. You will get ready. I am sure. Th[More]

Why can't I edit the local version of address book

Category:DefaultRelease time:-0001-11-30Views:130

Since iCloud I can no longer edit the local version of my address book.  In addition adding addresses from Mail no longer saves them to address book, it does seem to put them somewhere but I have no idea where, they don't appear to go icloud either. [More]

International Version" button in XD01 from 4.7 versions..

Category:DefaultRelease time:-0001-11-30Views:130

Hi All, We can find "International Version" button in XD01 from 4.7 versions.. But cudnt find in 4.6 Version... Plz help me..in findin out the reason. Can there's an way to hav it in even 4.6c version? Thanks All in Advance Regards, MaltiHi Rob,[More]

Hot
I am setting up my wife's mini.  We backed up her iPad gen 3 to iCloud.  When setting up mini from icloud it askes for passwords for iTunes accounts belonging to son and daughter. They used their accounts to load apps fr me on my iPad.  I do not have [More]
Hi, Currently we are able to show 10 records on screen at a time in the Search Results table. If we want to see the next 10 Records then there is a dropdown and on it we need to select the *"more"*. Then next ten records will be displayed. But n [More]
My sister has an old iMac, circa 2006, that can no longer be updated, so she's considering getting a Mini and somehow using the old iMac as a monitor. Is this possible? I found a very old post that referred to ScreenRecycler, but this appears to be a [More]
hey, I looked in past threads and didn't get a proper answer for capturing both single and double click from the mouse. in most applications the single click action does not interfere with the double click action, for example in a text editor, single [More]
when I start iTunes, I get a error message: "unknown error 42032" Have anybody a solution to this problem?? THANK YOU Frank"I had the same error on a german Windows 7 64Bit OS after the 10.2.1.1 update. For me the problem was fixed permanen [More]
Hello Friends, In the System,there are some documents which they were valuated with different valuation method from the Delta valuation method. I tried to reverse the valuation but system show difference totals.. How can I do about that? (any OSS etc [More]
Hi all,    Is there any specific role, that should be assigned to the USER, so that he can make RFC calls to BAPIs.     Or by default any USER can make the RFC calls to the BAPIs. For example, I am writing a Java/JCO appliation to call BAPIS. The cur [More]
Our PM suggests us to use Web center activity stream to store the twitter status based on our twitter search filter . To achieve that, it seems that we need to include the activity taskflow ( or data control) in our application and binding the taskfl [More]
Is it possible to enable both touch pad click button in XP Pro? also those extra features of the MAC OS X 10.5.2? Message was edited by: TuhinttI think you are asking about the Double Click option on the trackpad of a Macbook Pro. The answer is No. A [More]
Last night I installed Windows XP using Boot Camp. Everything went great and Windows ran perfectly....well it is Windows so it ran okay. Now I noticed that I have an icon for the Mac HD like always and a new icon for the Windows partion (Untitled). N [More]