Download the user signature file using Java API or using Info * Engine
Hello everyone!
Please tell me how can I download the user signature file using Java API or using Info * Engine?
Best regards!
Hello everyone!
Please tell me how can I download the user signature file using Java API or using Info * Engine?
Best regards!
You should use the same logic, as for a WTDocuments content or any other object which implements ContentHolder.
It is easy to figure out from the signature URL:
http://wnc_server/Windchill/servlet/WindchillAuthGW/wt.content.ContentHttp/viewContent/Untitled.jpg?u8&ofn=Untitled.jpg&ContentHolder=wt.org.electronicIdentity.ElectronicSignature%3A156037&HttpOperationItem=wt.content.ApplicationData%3A156040&forceDownload=true
Just go to the signature jsp /Windchill/codebase/netmarkets/jsp/user/updateSignatureStep.jsp
and you will easily find the API:
ApplicationData applicationData = OrganizationServicesHelper.manager.getUserSignatureApplicationData(signature);
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.