My Community
YourCause®
Impact Edge™
All-Star Lounge
Member Lounge (Just for Fun)
Community News
Community Manager
Groups
Browse Products
Members
Community All-Stars
Monthly Challenges
Member Search
Jobs Board
Help
Using the Blackbaud Community
Blackbaud Support
Knowledgebase
Blackbaud University
Discussions
Categories
Groups
Home
Blackbaud CRM™ and Blackbaud Internet Solutions™
Blackbaud CRM Developer Discussions
Refresh Field with new ID from Edit Form
Rick Root
So I have a page on which I have an edit form that allows me to "Copy" an existing item to create a new one.
I want the post action context to refresh the page with the new ID but.. I am not sure I can.
Thoughts?
Find more posts tagged with
Comments
Rick Root
So, I kind of figured out a solution for this, maybe it's the only solution, I don't know.
My page has a page expression view form, on which I added a field called NEWINSTANCEID that is just a NEWID()
When I open the edit form, I pass that field as a default form value, and use it as the ID of the new instance.
Then My post action event goes to the page using the page expression field.
Michael Simion
I think you've got a clever solution and it's probably the best and easiest way to stay within the properties available on a page. An alternative might be to use a custom UI model and make use of the NavigateToPage() method to redirect after your action completes.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Best Of