Hot answers tagged

7

If you want to compare with both conditions than use AND: @"<Where> <And> <Eq> <FieldRef Name='ReportsTo' /> <Value Type='Text'>" + reportsTo + @"</Value> </Eq> <Eq> <FieldRef Name='Team' /> <Value Type='Text'>"+ selected+ @"</Value> </Eq> </And> </...


4

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


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


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.


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'); ...


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


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.


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


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

The possible reasons for that: You didn't look at the correct site, Recycle Bin in SharePoint is site-specific, a document deleted from http://myportal/mainsites/site1 will not appear in the top-level site’s http://myportal/mainsite/ Recycle Bin. Recycle Bin is not only site-specific, it is also specific for each user. Thus the Recycle Bin contents you see ...


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


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

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


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


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


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"), ...


1

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


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'>" + ...


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

@"<Where> <And> <Eq><FieldRef Name='ReportsTo' /><Value Type='Text'>" + reportsTo + @"</Value></Eq> <Eq><FieldRef Name='Team' /><Value Type='Text'>"+ selected+ @"</Value></Eq> </And> </Where>"


1

You can use like this: @"<Where> <And> <Eq> <FieldRef Name='ReportsTo' /> <Value Type='Text'>" + reportsTo + @"</Value> </Eq> <Eq> <FieldRef Name='Team' /> <Value Type='Text'>"+ selected+ @"</Value> </Eq> </And> </Where>" NOTE: You can also use <...


1

Wrap your conditions in <And>...</And> inside <Where> Reference: https://msdn.microsoft.com/en-us/library/office/ms196939.aspx @"<Where> <And> <Eq> <FieldRef Name='ReportsTo' /> <Value Type='Text'>" + reportsTo + @"</Value> </Eq> <Eq> &...


1

You need to create a calculated column to show KPIs on same list. Note:- I have used below formula to check for 3 conditions like Green, Red & Yellow. I used column named budget with dropdown to select one of the value given above. I have uploaded all the images in SiteCollectionImages library. Please check below formula =IF(Budget="Green","<...


1

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



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