This function is to get the details like Name, ID, Title, site and URL details associated with the current SharePoint site from AppForms
Syntax:
GetSiteDetailsṣ(RequiredDetail)
Examples:
txturl.Value=GetSiteDetails(URL)
This will get the current SharePoint site URL