Skip to main content
17-Peridot
July 31, 2020
Solved

Download the user signature file using Java API or using Info * Engine

  • July 31, 2020
  • 1 reply
  • 2507 views

Hello everyone!

 

Please tell me how can I download the user signature file using Java API or using Info * Engine?

 

Best regards!

Best answer by fivig

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

1 reply

5-Regular Member
August 4, 2020

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

VladiSlav17-PeridotAuthor
17-Peridot
August 4, 2020

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

fivig5-Regular MemberAnswer
5-Regular Member
August 4, 2020

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