Tag Info

New answers tagged

0

This is the best and shortest solution Go to Edit web part and select "Miscellaneous" property and click on Server Render checkbox. then you will able to see that in designer hope it helps!


1

Try to $expand the field, as well as $select it, like this: ?$select=*,Access/Id&$expand=Access/Id&$filter=Access/Id+eq+null


2

I can't really provide a sensible answer to why this is happening (I can confirm I'm experiencing the same weird behavior. I'm sure this is related to the fact that they cut out the designer part without properly thinking about the consequences this would have had). What I can offer is a dirty workaround that proved to be almost always working in my case. ...


2

Use the following approach 1.) Create a visual webpart 2.) First add the following on the .ascx page Code for .ascx page <SharePoint:ListViewByQuery runat="server" ID="customlistview" /> 3.)Add the following code to query your list(assuming you have created the site and web objects) Code for .ascx.cs page SPList list = ...


0

LastPeriods {2, <<UniqueItem>> } worked for me.


0

There was two issues, first I was always using the query format field="value" but that only matches exact values unlike field:"value", also depending the datatype not all values use quotes. Another issue is CustomFilters which mask the original value such as Past Year instead of passing -365.. For more on this visit the MSDN page which explains the syntax


1

There is no way OOTB to have a column filter behave like the one you have in Excel. As you already noticed, the SharePoint filter is an exact-match type of filter. There is a workaround though, which involves creating a parameter on the XsltListViewWebPart and adding either a text filter webpart or a textbox input control on the same page where the XLVWP ...


0

The scorecard does not have any Out of the Box feature to provide default filter values as a PerformancePoint filter does. However I was able to exploit the beauty of Named Sets to craft a solution of my own to achieve this behavior. The primary scorecard has Date dimension members on the rows. Currently, the non-empty values are 10 March 2014, 17 March ...


0

There is no need to use $expand operator if you don't need to return the projected fields. The following REST endpoint demonstrates how to filter by Author Id: /_api/Web/Lists/getByTitle('Tasks')/items?$filter=(AuthorId eq 12)


0

You are missing ID in expand. The query should look like: _api/Web/Lists(guid'id')/items?$select=Id,Author/ID&$expand=Author/ID&$filter=(Author/ID eq 21)


0

Have you validated the field is being pulled into your view by dropping it in an xsl:value-of select="@fieldname" You could also use identity transform as your xsl to validate the variable is coming through and the value. http://en.m.wikipedia.org/wiki/Identity_transform


0

Sorted! Just used a Dataview webpart with a 'contains' filter. If anyone else has the same prob, see this: http://www.wonderlaura.com/Lists/Posts/Post.aspx?ID=77 - just follow that guide but replace text filter web part with current user filter :)


1

Create a new view for your list (either from SPDesigner or the browser UI) and make it the default. Now, in SPDesigner, go to Lists and Libraries > your list > Views > Right click on the new view and Edit file in advanced mode. In Split mode, hover the mouse over the first EmployeeID field value, then click right before it and enter some dummy text (see ...


2

To query any person or group field against logged in user you can use **<UserID/>** tag in Value. if (!Page.IsPostBack) { using (SPSite mySite = new SPSite(SPContext.Current.Web.Url)) { using (SPWeb myWeb = mySite.OpenWeb()) { ...



Top 50 recent answers are included