This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Aug 11, 2011, 7:37 PM
94 Posts

Why do I automatically get a save conflict when I save my panel data source?

  • Category: Debugging
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 5
I have an xpage (no data sources defined) that uses a computed xpage similar to a form and computed subform in a client app.  My computed xpage has a panel bound to a document data source.  It's set to edit the document and the panel includes a button to save the document.  When I save the document, I instantly get a save conflict document.  I tried changing the save button to use 'save all data sources', but this does the same thing.
 
What's the problem here?  What am I missing?  There is only one data source on the page.
 
I want the panel in the computed xpage to have the data source, because I want to bring up different documents by just refreshing the panel and not reloading the whole xpage. (which I would need to do if I just bound the computed xpage to the data source).
 
 
Aug 11, 2011, 7:57 PM
6 Posts
Re: Why do I automatically get a save conflict when I save my panel data source?
This happened to me and too me a long time to figure it out.  Make sure you don't have a control deep inside other control and bind to data somehow.  I had to restart the page from scratch and remove items one by one until I found the culprit.  Maybe this is your problem?
 
Also check out this post
 
http://www-10.lotus.com/ldd/xpagesforum.nsf/topicThread.xsp?action=openDocument&documentId=8FA4B76098E5A801852578E80032635F 
Aug 11, 2011, 8:33 PM
94 Posts
Re: Why do I automatically get a save conflict when I save my panel data source?
Thanks, but no other data binding exists on this page.  I did see the post you referenced, but it didn't help either.  I'm sure I'm just missing something simple... I hope.
Aug 13, 2011, 9:19 PM
272 Posts
Re: Why do I automatically get a save conflict when I save my panel data source?
Hi Bob,
 
 
The replication conflicts could be provoked if there is not field bound to the datasource. You can prevent the replication conflicts by setting the  concurrencyMode  property of the datasource to "force". 
 
Hope this helps
Sven
Aug 16, 2011, 3:55 PM
6 Posts
Re: Why do I automatically get a save conflict when I save my panel data source?
hi bob,
 
 
 make sure that your button is set to BUTTON instead of SUBMIT and do the save using a simple action inside the onClick event with Save Datasource/ Save document.
 
or you might switch to SUBMIT and remove the onClick event if you have a datasource connected.
 
 
hth
alex
Aug 17, 2011, 9:41 PM
94 Posts
concurrencyMode=force solved it
Thanks guys... yes, my button is set to BUTTON and not Submit.  I changed the concurrencyMode = force and that fixed it.
 
Thanks again!

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal