Hi all,
in the Infopath process wizard Infopath Document Settings, I have something like this:
[{my:myFields/my:username}] [{my:myFields/my:tbSystem}][{my:myFields/my:requestType}]
Everything is shown in the process instances but it is hard to read so I would like to know if I can enforce linebreaks between the data so that it would be shown like this in the workspace.
[{my:myFields/my:username}]
[{my:myFields/my:tbSystem}]
[{my:myFields/my:requestType}]
Page 1 / 1
Sorry, not as far as I know - at least not with the standard K2.net Workspace. To achieve this, you'll have to write your own custom workspace.
Regards,
Ockert
Regards,
Ockert
If you are talking about XML fields in your IP process, you can add XSLT definitions to your XML datafield which will transform the submitted XML in the layout that you ve defined.
Easy way to generate the XSLT is to use IP itself. Open the applicable IP form in design mode and create a new view showing only the nodes that you want to display in the layout that you want. Once done, you can click on File and then Extract Form Files , specify the location and click OK . Close InfoPath without publishing if you don t want the new view saved. You ll find a .xsl file in the specified location (among other files) with the name of new view created, e.g. MyNewView.xsl.
To apply the XSL definition to the XML datafield, open K2 Studio and the process, right-click on the design canvas, select Properties , then XML Fields , double-click the required field and select the XSLT Definition tab. Click the Browse button and open the xsl file created in the previous step. Click OK and OK again.
After exporting the process, new instances started will show you the transformed xml.
Easy way to generate the XSLT is to use IP itself. Open the applicable IP form in design mode and create a new view showing only the nodes that you want to display in the layout that you want. Once done, you can click on File and then Extract Form Files , specify the location and click OK . Close InfoPath without publishing if you don t want the new view saved. You ll find a .xsl file in the specified location (among other files) with the name of new view created, e.g. MyNewView.xsl.
To apply the XSL definition to the XML datafield, open K2 Studio and the process, right-click on the design canvas, select Properties , then XML Fields , double-click the required field and select the XSLT Definition tab. Click the Browse button and open the xsl file created in the previous step. Click OK and OK again.
After exporting the process, new instances started will show you the transformed xml.
Cool thx guys, gonna try that. I'll come back to you if I have any further questions.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.