Hot answers tagged

5

Try this for calling your function: SP.SOD.executeFunc('sp.js','SP.ClientContext',getMyTasks); You will get more info from below link: SP.SOD.executeFunc(key, functionName, fn) Method


3

Just add this before your code in the .ps1 file: #Load SharePoint PowerShell SnapIn if ( (Get-PSSnapin -Name Microsoft.Sharepoint.Powershell -ErrorAction SilentlyContinue) -eq $null ) { Add-PsSnapin Microsoft.Sharepoint.Powershell } This will load the required Snapin. Then all the SharePoint commands should work. If you want to stop a running ...


3

Select database by type, and ask for the server. Like this: $ConfigDB = Get-SPDatabase | Where-Object{$_.Type -eq "Configuration Database"} $ConfigDB.server


2

Assuming a setup close to the defaults (and that you already loaded the SharePoint snapin via asnp *sh*), I would try this: $server = (Get-SPDatabase | ?{$_.name -like "SharePoint_Config"})[0].Server $server


2

Users with Read only Permission at Site Level , Library Level will not get Download option. Users with contribute access Permission at Site Level , Library Level and Item Level will get Download option.


2

If you are working default list forms and you are victim of some unwanted changes and you want to revert the form to original then you can do this by following some of simple steps. Solution-1: Open any existing form that is perfectly working from other list. Remove ListFormWebpart from broken page "<WebPartPages:ListFormWebPart ... to</...


1

Unfortunately, you can not do it via SP designer without customization but you can do it via jquery or embedded script editor after converting List view to Data view as mentioned below Edit Newform as the advanced mode . From the above ribbon > Insert new form > custom list form . the list fields now are shown within the table try to use conditional ...


1

Check your Search Service Application. There is a setting for the Global Search Center URL. It is likely pointing to the old location.


1

You can either give those users View Only permissions, or you can use IRM (Information Rights Management) to restrict the document. Users with the View Only permission level can only list items in a list/library. They need the Read permission level to open them. More information on the different permission levels here. IRM can be used to help control and ...


1

Whenever I come under such requirement I always select the simpler and easy way to achieve it. Just navigate to the MySite Edit the page Keep Content Editor WebPart Write following JS code <script> window.location="http://UnderConstructionPageUrl"; </script> Save the page Once the MySite is ready just go and delete this Content Editor WebPart....


1

Try to add Page Viewer Web Part that hold external URL site and show it as I Frame. Edit SharePoint Page > Add Web Part > try to search for Page Viewer Web Part > Edit it > Add your site URL


1

Two different files with the same content would not be 'shredded together', which is what I think you're asking. Instead, they would be two different entries into the database each containing the entirety of their contents. As each file is changed over time, those changes would be a shred for the document that was changed, again not 'sharing' any particular ...


1

No, it will not work the way you are thinking. It is not file comparing tool rather improve the I/O and reduce Compute Utilization. Shredded Storage is both improves I/O and reduces compute utilization when making incremental changes to document or storing documents in SharePoint 2013 Read more here


1

So, after all the trials before redoing the site all over by hand, at last the Export/Import SPWeb worked out! First I exported the broken site collection including all versions and user security: Export-SPWeb "BROKEN_SITECOLLECTION_URL" -Path C:\SP\Backup\backup.cmp -IncludeVersions All -IncludeUserSecurity -NoLogFile -Compressionsize 100000000 Then I ...


1

According to MSDN about ColName Optional Text. An internal attribute that defines the mapping of the field to the physical storage name for this field. This must be a valid name in the underlying database and must be identical to the name used in the database table. If not specified, the server generates a column name that does not collide with ...


1

couple of things to check. Make Sure the certificate is not expired. If it is expired then it will throws the error. Add the SSL cert into the SharePoint trust.goto - Central admin > security > Manage Trust, upload the SSL certs and test it. Check if the Server has access to internet. Check this forum post


1

I've seen something similar happen to me a while ago. I don't have an exact answer but I like to think that permissions don't get removed by themselves. Some ideas: You seem to work with On-Prem SharePoint, which means you probably have a team responsible for managing the system (BackOffice) If you are not Site Collection admin, you should be able to ...


1

The page reloads when you click your link, so you need to put JavaScript on the page which on load: extracts the FilterValue1 query string parameter find the corresponding link applies the css Step 2 will be a lot easier if you add an id to each link So if you define your links like this: <a id="linkA" href="?FilterField1=FirstLetter&...


1

The url of the images has changed to be in /_layouts/15/images/ So your css should be something like: <style> IMG[src*='/_layouts/15/images/rbsel.gif'] { BACKGROUND-IMAGE: url('https://cdn1.iconfinder.com/data/icons/windows8_icons_iconpharm/26/checked_checkbox.png'); WIDTH: 26px; HEIGHT: 0px; PADDING-BOTTOM: 0px; PADDING-LEFT: 0px;...



Only top voted, non community-wiki answers of a minimum length are eligible