This content has been marked as final. Show 4 replies
What is your business use case for this?
How would you know if the checkin was successful or not?
You should be able to do this either via editing the checkin service, a dynamichtml include, or implementing a filter. You might (have not tested) be able to do this out of the box with the parameter RedirectUrl.
My business use case is that we have a file wizard kind of checkin - built - completely by extending standard idoc includes.
We have a situation where we want to submit content in UCM as a draft. Draft is just a metadata field that tells the content is not publicly viewable.
Basically, while you are navigating through the wizard where a user hits next and it submits it in UCM. Since we have already checked in the content we want people to continue to working on the content using the wizard. As we know submission takes us to a new "page" that is executed using the CHECKIN_CONFIRM_SERVICE, the user will be loosing all the data (until and unless we decide to change doc update form too.. which we have to down the road)
You mentioned couple of ideas : One was editing the checking service and the redirectUrl.
You know how we can do you do that. Right now I am thinking using the above technique and moving to the filter technique once I am sure requirements are fixed.
Edited by: user9138987 on Mar 28, 2013 7:26 PM
Might be better suited for a custom service since overriding the service definition for the stock checking service(s) will affect all use cases. And, there will be use cases you haven't accounted for which will cause trouble down the line.
a custom checkin service that has the redirect as you need could work.
A different approach would be to use ajax to make your service calls. I was able to find some cool jquery related stuff that allowed for psuedo-ajax content submissions from a master page.
CHECKIN_NEW service executes prepareRedirect function in the end.
basically, you have control on which page to be displayed after successful check-in with minor idoc changes.
ovverride std_checkin_form_start_extra include and add
you can also use RedirectParams instead of RedirectUrl.
<input type="hidden" name="RedirectUrl" value="<your check-in page url>">