I am developing a process that will read and send an image in an e-mail. This image is a folder within this process.
The 开发者_运维百科problem is: how do I get the path where the process is running?
Something like a
'Server.MapPath'
that returns the image path in the File System.
Thanks in advance.
Did you get a chance to try my answer over at TIBCommunity?
absPath = com.tibco.pe.core.Engine.getRepoAgent().getAbsoluteURIFromProjectRelativeURI(relativePath);
Did you try to drag-and-drop the image on the text field? Works surprisingly often in Tibco BW.
精彩评论