Skip to main content
Jul 31, 2020 3:36 PM UTC
Solved

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!

fivigAnswer
Aug 4, 2020 11:21 AM UTC

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);

4 replies

Aug 4, 2020 5:58 AM UTC

What is "user signature file" and were it store?

VladiSlavAuthor
Aug 4, 2020 10:31 AM UTC

Thanks for the answer!
And I mean the signature file that is added when the user is created.
I attach a screen:

user_signature.png

fivigAnswer
Aug 4, 2020 11:21 AM UTC

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);