cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Email Sender Snap - attach file from SharePoint

sdoscher
New Contributor III

I have a pipeline that creates a file and posts it to a SharePoint document library. I want to use the email sender snap to send that file as an attachment. I currently have a pipeline that does it, but the file is stored on a network drive and we are moving away from network drives to SharePoint document libraries.

The current attachment logic is: โ€˜smb://MBY;App_Snap_MRY_Letters@GVAFS:445โ€™ + FileName + 'โ€™ + Date.now().toLocaleDateString(โ€˜{"timeZone":"CST", โ€œformatโ€:โ€œyyyyMMddโ€}โ€™) + โ€˜.xlsxโ€™

I THINK the part I need to update is: โ€˜smb://MBY;App_Snap_MRY_Letters@GVAFS:445โ€™

Can you help me with the syntax to reference SharePoint doc library instead of the network drive.

Thank you very much in advance.
Scott

0 REPLIES 0