New answers tagged

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

This is caused by insufficient permissions for the search service account on the SharePoint Server. Verify that no group policies have been set on the local user groups 'WSS_WPG' and 'WSS_ADMIN_WPG'. Resolution Check the system event log for group policy changes that may have occurred around the same time as the search errors. Determine if any group ...


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.


0

if you don't find surveys under Content & Structure then other ways append this _layouts/sitemanager.aspx into your site collection URL like this http://Your-Site/_layouts/sitemanager.aspx Now you can delete all responses here. check this How to Remove All Responses from SharePoint Survey


4

As promised, I found the solution. It can be done using CSR with this line of code when rendering : ctx.ListSchema.NoListItem = "";


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</...


0

Open your master page in SharePoint Designer -> Search for that DIV html (test) -> If found, Remove it -> Save and Check-In your master page


0

First of all there is a version mismatch. The back end schema's in 2010 and 2013 are not same. The easiest option is Use internet explorer and export the data into Excel Now format the excel file and remove unwanted columns Save it to local folder Open 2013 site and create a new list from the excel file Another 3 options are explained in this article - ...


0

Add the following code below class definition. [WebBrowsable(true), WebDisplayName("Project ID"), WebDescription("Enter Project Number"), Personalizable(PersonalizationScope.Shared), Category("Project Settings")] public string ProjectID { get; set; } To get the property value in code, you should use the “ProjectID” variable that defined as public string ...


0

To hide it temporarily till find it is related you can also Open your portal with IE > Click F12 to open developer tool > try to select its ID. Add a Content Editor to your page then add the following CSS. #ID {style : display:none;} regarding tracking the issue ? open web part maintenance page and make sure that it's not related to any web part ...


0

I think you got this error when you are trying to open File Explorer. We’re having a problem opening this location in File Explorer, Add this web site to your Trusted sites list and try again This problem might occur because of Desktop experience feature was not installed. Desktop experience feature was installed,but the web client service stopped. ...


0

No need to bring your site down. Only set its content database as 'Readonly' Open CA > Application Management > Contetn database > click on its name > Set as readonly.


0

You need to elevate Workflow permissions in SharePoint 2013 by doing the following : Allow workflow to use app permissions. Grant full control permission to a workflow. Develop the workflow to wrap actions inside an App Step using SharePoint Designer. For more details about How to apply the above steps check The Workflow was Suspended with Unauthorized ...


0

Using PowerShell you can update the lookup list Id $webURL = "http://server/sites/XY" $listName = "MyList" $columnName = "MyColumn" $lookupListName = "Category" $lookupWebURL = "http://server/sites/X" RepairListLookupColumns -webURL $webURL -listName $listName -columnName $columnName -lookupListName $lookupListName -lookupWeb $lookupWebURL Function ...


1

try this one go to the IIS Manager, Click on the Server and in the feautre pane select the configuration Editor On this page from drop down Exapand System.WebServer and Click on the StaticContent Now on in Action Tab(right hand side) Make Sure it say Lock Section if not then unlock it. Do this on all Servers and reset IIS. This link is basically go ...


1

This issue is realted to specific webpart within your site page and to trace this issue you should follow Try to check what's the latest web part has been added to your page before you got this issue. Try to deactivate its feature or retract its solution. Check the site page status. Repeate the previous steps for each web part within page to trace the ...


0

You need to download and install Microsoft Office Developer Tools with update for Visual Studio 2015 as mentioned at Office / SharePoint template missing in Visual Studio 2015


1

This issue happens, I'm fairly certain, that when the data is exported as a template, it persists user fields as list item IDs that are associated with the user information list. Since this list varies from site collection to site collection, if you are importing it into a new site collection, there is no guarantee that the IDs are the same person or exist ...


0

You can use the below code to find WebApp url, this takes care of port number too (if exists) var WebAppUrl=""; if (location.port) { WebAppUrl = window.location.protocol + "//" + window.location.host + ":" + location.port; } else { WebAppUrl = window.location.protocol + "//" + window.location.host; }


0

I think the only reliable way to do this is to somehow convert the column into managed metadata and use the term store api to fetch all of the terms for the term set.


0

When developing custom sharepoint timer jobs sometimes you want to delete junk jobs created by deployment attempts . Warning !!! DO NOT DELETE ANY TIMER JOB UNLESS BE SURE Searching listing and find timer job to delete.We need an id. Get-SPTimerJob | where { $_.name -like “*<your search criteria>*” } |ft id,name Set job to a variable $job = Get-...


0

Sample code I have used: string formulaAmigable = listaRiesgosNueva.Fields.Add("Formula", SPFieldType.Calculated, false); SPFieldCalculated formulaAmigableCF = listaRiesgosNueva.Fields["Formula"] as SPFieldCalculated; string formula = "=\"(\""; formula += "&[Valor_PH_Mayor]&[Signo_PH_Mayor]"; formula += "&\" Promedio por hito \""; formula += "&...


0

$jobToDelete = Get-SPTimerJob | ? { $_.name -eq "sitename" } $jobToDelete.Delete() sitename=Name of your site Also you can create filters for getting specific Timer jobs Example $jobToDelete = Get-SPTimerJob –WebApplication “http://test.intranet.local” | Where-Object {$_.name –like “*health*” } $jobToDelete.Delete() Delete Timer Jobs


0

You can try this below code: Here, I've used console app. using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.SharePoint; namespace CalculatedField { class Program { static void Main(string[] args) { using (SPSite site = new SPSite("http://shashankpc:2012/sites/test")) ...


2

To avoid these errors, I created a new SharePoint document folder, and named it something similar. Then use the explorer view to copy over the files and folders then delete the original one and rename the new one to the same name as the original one.


1

To get the properties of a visual WebPart programmatically, you can refer to the following code for the WebPart at this article. public enum CityEnum { Manila, Berlin, Auckland, Zurich }; public static CityEnum SampleDropDown; [Category("Extended Settings"), Personalizable(PersonalizationScope.Shared), WebBrowsable(true), WebDisplayName("Sample Drop Down"), ...


0

You can achieve this by simply add a querystring "Source=" in your survey URL. First, create a thank you page (e.g. /pages/thankyou.aspx). Then, in your survey newform URL (e.g. <site url>/Lists/survey/NewForm.aspx) add the querystring like this: <site url>/Lists/survey/NewForm.aspx?Source=/Pages/thankyou.aspx When the users completed the ...


0

I dont think you can do it without accessing the server. You have to access the PowerShell or Stsadm to perform this activity. Or export / Import. Everything you will be get needs a server side access. check the answer here https://social.technet.microsoft.com/Forums/en-US/9cbed62e-badd-48da-874e-945d4eec39fb/increasing-site-template-size?forum=...


1

Make sure that you are running your code from the server as an administrator. Also replace Localhost with the actual Web Application URL.


0

if you're using a single master page and publishing feature (I'm assuming here), just go into site collection settings, master page (Look and Feel) and select the checkbox for "Reset all subsites to inherit this site master page setting". Edit: To modify your master page and add the site title within your aspx, please go to this other thread


0

I have modified my code which gives me what I need - and workable in my environment. $(document).ready(function () { // Get a single select dropdown field var IntExtField = SPUtility.GetSPField('Internal_External'); // create a function to show or hide Internal External based on select value var showOrHideField = function() { var IntExtFieldValue = ...


0

Go to Services > Search For SharePoint Timer Service > Make sure that it's started and try to restart it. then reset IIS Again, find all related Project server services and make sure it was started. If the issue did not solve try to check the correlation ID using ULS Viewer and come back with its details.


2

I haven't tried for this particular case but I am sure it should work in this case too.You can inspect the element using F12 ( Deeveloper tool) and get the id or class of the download link and then add DISPLAY:NONE; css property to hide it. Also you can refer this blog for better understanding http://www.learningsharepoint.com/2013/07/08/hideremovecustomize-...


2

So the formula goes like this =IF(Currency="Brazilian Real",Revenue*[Currency Rate],Revenue) This works on the condition you prescribed and calculates the USD Revenue based on the values provided for Revenue and Currency Rate columns. If USD Revenue has to be calculated regardless of a specific currency, the formula would simply be: =Revenue*[Currency ...


0

Try updating the file in addition to the SPListItem: targetDoc.Update() targetDoc.File.Update()


0

Alternatives I would use would be to use the discussion board as you can use the check box indicating that the thread or post is a question that needs an answer. One of the replies can then be selected as the 'best answer'. (Item level permissions would manage who can edit what) A blog type of site might also work for this if you customize the permissions ...


3

The timerJob is executed at different level (WebApplication, Content DB ...) You need to create (instantiate and schedule ) this timer in a feature (in event receiver of feature). You must add your site workflow template with a feature (level site). Then, ADD workflow association to your rootSite manualy or programmatically of your site collection. If ...


0

First find out the proper Error message using you Correlation ID: 16117f03-d1b0-4397-b437-5d35ef7c377c. You can use download below mention tool called ULSViewer from Microsoft website. & find the error using this tool. ULS Viewer How to use ULSViewer Kindly provide the proper error message here, after getting it using above mentioned tool.


0

This issue might occur because of You may have used a system custom master page that some placeholders were deleted or its visibility set to false. The app installation service timer job is disabled. This useful link helped me and I hope to help you to solve the above causes https://blog.devoworx.net/2015/10/17/your-apps-stuck-loading-in-sharepoint-2013/...


1

Referring your question and comments above i am bit confused. But if you are saying that you completely don't see the Video and Audio icon in your ribbon make sure that you have Server Publishing Feature On. If you say that the you can see the icons in ribbon but the are disabled(grayed out), in this case please make sure that, page where you are trying to ...


1

You can try DateTime enddate = new DateTime(DateTime.Today.Year, DateTime.Today.Month, DateTime.Today.Day); DateTime startDate = enddate.AddDays(-7); query.Query = "<Where>" + "<And>" + "<Eq><FieldRef Name='Kompania' /><Value Type='Text'>" + ...


2

In CAML Query you should use field internal name instead of Display Name. You can get the internal name for a column by browsing to the List Settings > Edit Column and look at the QueryString value Field.


0

In case someone stumbles upon the same issue, i have solved it by setting the FilterFieldName attribute on my controls Pre Render event: FilterFieldName property of the gridview cannot be set directly you have to set it by using "Attribute". if (!string.IsNullOrEmpty(this.FilterExpression)) { string[] columns = this.FilterExpression....


0

In case someone has the same issue, i have found a way to do it by defining the rowdatabound of my spgridview on pre-render of my control. I found this forum link.


0

If you want to show/hide fields on a new item form, you can manage that through SharePoint Manager. Just download this software which is freely available. Connect it to you site, List and then column. There you will find an option of true false from which you can easily manage to show/hide the column which you want. Hope this helps. This is something which ...


2

From your description I think below code is what you are looking for <script src="~/SiteAssets/jquery-1.10.2-min.js"></script> <script src="~/SiteAssets/sputility.js"></script> <script> function showAllFields() { SPUtility.ShowSPField('Contact_Name'); SPUtility.ShowSPField('Organisation_Name'); ...


1

Here are a couple links that i found: here or here


0

="<button onclick=""alert('You clicked One')"">1</button>" &"<button onclick=""alert('You clicked Two')"">2</button>" &"<button onclick=""alert('You clicked Three')"">3</button>" But, you will run in all sorts of programming trouble if you could not answer this yourself and you clearly do not have the required ...


0

In Library permissions you can create groups if you know the people that need to have read or write permission. Create a group A and give them contribute permission, then another group B with edit, and a visitor group with read.


0

Out of the box you don't have any feature to achieve this functionality in SharePoint forms. However you can easily do it by some custom javascripts and jquery. Check JS script to validate the group being called in popup box and if the login user belongs to the group show the panel on the form or else hide it.



Top 50 recent answers are included