The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Class for Attachmentnames in SP16

Highlighted
Stephan Conrad_
Super Collector

Class for Attachmentnames in SP16

Hi,

I have written a little class witch converts the oid form a item to the uuid and/or the path on the ftp server. I poste the class with sourcecode. I hope you can use it and understand my code.
The class has only static methods. The variable is for the fileseperator if you want to use the path under windows and don't want to use the ftp server you need to change it to \\. By defautl it is set to the Unix and URL standart /.

regards,
Stephan Conrad
2 REPLIES
Jasper Verweij
Honored Contributor

Re: Class for Attachmentnames in SP16

Thanks Stephan, I appreciate it that you are willing to share it with ITRC community, unfortunately you can't give yourself 10 points ;-)

If I'll leave a reference to this topic in remarks when used in our programs or custom made solutions.

Jasper
Vasily Aksenov
Esteemed Contributor

Re: Class for Attachmentnames in SP16

Thank you too.
//Add this to "OnDomLoad" event