Tag Info

New answers tagged

0

This code change the view by taking the id of the new view by list. (you can use your own logic to change it) <script type="text/javascript"> //declare a variable for the exisitng view var existingview; function loadViewAndChangeIfExists() { //get the current client context clientContext = new SP.ClientContext.get_current(); //if the client ...


0

It might be help full and well explained http://www.codeproject.com/Tips/401818/SharePoint-SPSiteDataQuery-with-Example


2

This is a known issue with MS15-022 and the March 2015 CU. http://thesharepointfarm.com/2015/03/march-2015-cu15-022-task-list-filter-issue/ Simply add a Style (any will do, except the default one) to the View, and it will be resolved. Alternative option is to enable Server Render if displaying the Task List in a Webpart.


0

EDIT: You tagged your question with 2010 - unfortunately this solution will only work for SharePoint 2013. But I'll leave it here for the benefit of anyone searching for a 2013 solution. - You can achieve this with Client Side Rendering. You will need to point the page to a JavaScript file, which will look something like this: ...


0

You can not export a List View Web Part, and you cannot use the resulting xml as a list def/template The resulting xml of a export would look something like this: <?xml version="1.0" encoding="utf-8" ?> <webParts> <webPart xmlns="http://schemas.microsoft.com/WebPart/v3"> <metaData> <type ...


3

The previous answer is right, you can do it also by powershell, with the property PersonalView. $site = Get-SPSite http://yourSite $web = $site.OpenWeb() $list=$web.Lists["your List name"] #get the index of your view $list.Views[0].PersonalView #true or false SPView properties If you want a more user friendly way, you can add this code into a script ...


2

When you click the view in the list or library look at the URL. With a personal view you will find the URL looks something like: Site/Lists/ListName/PersonalViews.aspx?


1

one way for making sure all 3 levels are expanded <script src="https://portal/SiteAssets/jsLibrary/jquery.1.9.1.min.js" type="text/javascript"></script> $(document).ready(function () { // Wait until SP.JS has loaded before calling expandAll ExecuteOrDelayUntilScriptLoaded(expandAll, "sp.js"); }); function expandAll(){ ...


0

The top bets on why would be a shared namespace or the script you removed is loading something prematurely, but the only way to know for sure is to load the page using your browser's developer console and look at the Javascript tab.


0

I have never heard of users in filters. This will get to be a pain to manage when new users are added. I would suggest creating 2 lists: ShiftA and ShiftB. Then create 2 SharePoint permission groups ShiftAGroup and ShiftBGroup that can view their own list only. Then on the web part page you place both lists out there. You as the owner/admin will see ...


0

Using JSLink is the best possible way with regards to SharePoint 2013 Online. You will be able to provide links to files under SP Content DB Please Ref. Using JSLink to change the UI of a SharePoint list/view


0

I had a similar issue when exporting a list with an appended column to Excel. I was able to capture the value being sent when no edit had been made to the appended column via a workflow history, and it was revealed to be saving <div></div>. I used a workflow to copy the values from the appended column to a different column now used in report ...


0

If hiding the column is sufficiƫnt you can use Nadeems' answer. You can also hide the information securely using out of the box techniques explained below. The steps create a seperate (custom) list only for SSN's give this list the read permissions as you would like your SSN column to have add a sample SSN (use the title field) In your main list (not the ...


1

It is not. Explorer opens up a connection to the library and you see everything that you can see based on your permissions (namely non-approvers not seeing drafts). The only way to filter it is to map that folder to a drive, search for whatever it is you want to filter by and then save that search in Explorer, but that won't be at the same level of ...


0

There is no OOB way of limiting the access to a list column. The column can be hidden from the form using JavaScript but users can still see the page source and grab the information from there. Following example shows how to do it using JavaScript: <script type="text/javascript" src="/Shared%20Documents/JS/jquery.min.js"></script> <script ...


0

2 more options: On Creation of an Item, kick of a SharePoint Designer Workflow which converts to UpperCase; SharePoint Designer does not have a Upper function but you can loop the string; see http://www.documentmanagementworkflowinfo.com/sharepoint-2013/sharepoint-designer-2013-workflow-propercase-strings.htm Less User Friendly but a good option if you can ...


1

Because I started with this question as a reference point, I just wanted to link to a solution I came up with in case it helps anyone else attempting this same thing. Do not apply CSR Override in QuickEdit Mode I built on the JSLink method but had some issues when switching from normal to QuickEdit mode. Now I have managed to override just the bits of ...


1

I have just managed to do something similar to what you were working on. Here is a link to my question where I have posted the working (so far) script. Do not apply CSR Override in QuickEdit Mode I thought it might still be relevant to you as it works in both MDS and non-MDS modes. Disclaimer What I have found that works for MDS so far (note that I am ...


1

Ok.. success ! In case someone else is struggling here is the script. General Works in MDS and non MDS mode if deployed as per script comments. An old method of hiding the column using jQuery is included but commented out (ie. the OnPostRender has been commented). I thought it might be useful to someone. I have not done extensive testing yet so mileage ...


2

there are couple of ways to do it, easy is to use the Caculated Column as mentioned by "Jordan". use javascript code attached to [column] field edit box which will save the value as Upper values Youcan use a little jQuery to force the upper case. On keyup event, get the string and set it to upper case. use the event handler C# public override void ...


1

I think the best solution would be to create a calculated column and use =UPPER([ColumnName]). You can read more about that here as well: https://msdn.microsoft.com/en-us/library/office/bb862071(v=office.14).aspx#sectionSection4


1

You can apply a filter to your list and then right above the filter there is a sort option that you can use to sort the results in reverse order.. Maybe I'm not understanding the issue correctly?


1

Have you used java script code for that or you are doing it by code behind? As Update panel is not supported in Office 365 environment. It is working on SP2013 on premises environment. if you had handled that using Update Panel trigger than it is going to be refresh. you can use java script code to Add/Remove multiple dynamic controls. ...


0

You could use Client Side Rendering (JS Link) and the OnPostRender property. When you use a filter in the list view it will trigger the OnPostRender again. Check out this article for more information. Code example: (function () { var overrideCtx = {}; overrideCtx.OnPostRender = []; overrideCtx.OnPostRender.push(function() { ...



Top 50 recent answers are included