Its and inbuilt xPression component, which helps the designers to populate a dynamic value that doesn’t come from a data source.
Its basic function is, during a document assembly -- a user defined Java functioned is called from xPression
1 Java function can be invoked with any number of input parameters (static / dynamic variables) of any type (number/string) from xPression.
2. The java function will be processed by the Application server.
3. After processing the input, a java USER EXIT function can return only a String value back to xPression, The returned value is used to populate in the output .
Using the above-mentioned basic functionality we can implement all our strange requirements that are not provides as a part of xPression Suite.
We are passing payload xml through web services to invoke document generation. I am trying to parse payload xml in user exit routine to apply more business rules from database.
I used sample UserExitTest (extends from UserExitDataReader) from the documentation and configured user exit data source from xAdmin. For some reasons, this method is not getting invoked during assembly/publishing. Is there is any documentation or any set of instructions to invoke this method?
R_14
3 Posts
1
May 25th, 2012 22:00
Hi Rediroma,
Yes it is possible !
We can achieve your requirement by using USE EXIT
About USER EXIT:
1 Java function can be invoked with any number of input parameters (static / dynamic variables) of any type (number/string) from xPression.
2. The java function will be processed by the Application server.
3. After processing the input, a java USER EXIT function can return only a String value back to xPression, The returned value is used to populate in the output .
shankargk
4 Posts
0
June 8th, 2012 08:00
Hi R@ju,
We are passing payload xml through web services to invoke document generation. I am trying to parse payload xml in user exit routine to apply more business rules from database.
I used sample UserExitTest (extends from UserExitDataReader) from the documentation and configured user exit data source from xAdmin. For some reasons, this method is not getting invoked during assembly/publishing. Is there is any documentation or any set of instructions to invoke this method?
Thanks
Shankar
R_14
3 Posts
0
June 13th, 2012 01:00
Hi Shankar,
I guess you are deviating from your requirements, by referring to USER EXIT AUTHENTICATION in the user guides.
There is a lot of difference between USER EXIT AUTEHNTICATIONS and document level USER EXITS
Creation of USER EXIT is a bit different and, it not mentioned clearly in the user guides.
So, I have generated a document which will help you in creating USER EXITS and get the things done!
http://dl.dropbox.com/u/81851060/Steps%20Involved%20in%20creating%20a%20UseExit.pdf
I am attaching it to the same thread, Please let me know if you have any concerns
Thanks,
Raju