Andrei,
You would need to go get the source code from the Public Information template and strip out the share widget portion. There is not going to be a sample or tutorial for this.
Thank you Robert, the web app source code is a good start.
ESRI not having a sample or tutorial for a widget sharing ESRI products might sound a little strange
Have you had any success with this AndreiLuca2?
Hi Mathew Suran
No, just learning to code and this is above my skills for now.