I have created in database request list in Sharepoint. After user fills in the report with data, I want them to be able to click a Save or Submit button and have the URL of that page be sent to a Link Library I have setup in Sharepoint using the JavaScript onclick method.
Its sending a Mail with https://wssites.vzbi.com/sites/vzb_dba/Lists/test/EditForm.aspx.
I need that to inlcude (ID) https://wssites.vzbi.com/sites/vzb_dba/Lists/test/DispForm.aspx?ID=33
here is the layout of my sharepoint site
Column (click to edit) Type Required
Title Single line of text
ORD# Workplace ID
Submit Workplace Custom Field
Created By Person or Group
Modified By Person or Group
My script for Submit button is
<script language="javascript">
function NavTo(url){ window.location = url }</script>
<INPUT class="NavButton" onclick="NavTo('mailto:[email protected]&subject=NewDCR created...&body='+ ' ' + location.href)"
type="button" value="Send Link to DBA team">
Need your help on this please
Ravi