Category «Sharepoint»

How to get parent site lists

I am using JavaScript on a subsite to retrieve items from a list which is on the parent site. When I use this code: var clientContext = SP.ClientContext.get_current(); var lists = clientContext.get_site().get_rootWeb().get_lists(); var oList = clientContext.get_web().get_lists().getByTitle(listName); A message on subsite home says, this list does not exist on this site. ================= ================= 1 Answer 1 …

Workflow Error in Sharepoint 2013

I created a new workflow. When users add new item to the, the workflow send an email to users. I checked workflow and i got the error as follow image. My email’s content as follow: Why got I this error? =================      Please check the recipients of the email are SharePoint site users. – Avijit …

OpenPopUpPage to go to new URL on close

Currently my code is OpenPopUpPage(‘mydialogurl’, RefreshPage) What do I need to change RefreshPage to be so that it moves to the new URL after my dialog closes? So far I can only get it to go to the new URL immediately rather than after the dialog closes. =================      Can you post the source …

Stop a workflow when the item is deleted

I have a workflow that waits for a certain date to occur depending on the user input. However when the list item is deleted, the workflow still runs. Is there a way to say Wait for item to be deleted Then Stop the Workflow ================= ================= 1 Answer 1 ================= I don’t think that is …

Insert Related List errors

So I have some Classes in one list and each time one is scheduled, it must have an Instructor (lookup to Instructors list). On the display form for Instructors, I used the “Insert Related List” button to get the sublist of Classes that the selected Instructor is teaching. I thought it was working perfectly for …

How to enable app SideLoading feature in sharepoint 2013 foundation

How to enable app SideLoading feature in sharepoint 2013 foundation ? I am getting path not found error when trying this, $programFiles = [environment]::getfolderpath(“programfiles”) add-type -Path $programFiles’\SharePoint Online Management Shell\’ + ` ‘Microsoft.Online.SharePoint.PowerShell\Microsoft.SharePoint.Client.dll’ Write-Host ` ‘To enable SharePoint app sideLoading, ‘ + ` ‘enter Site Url, username and password’ $siteurl = Read-Host ‘Site Url’ $username …