Tag Info

New answers tagged

0

Field level permissions are not possible in SharePoint either by OOTB and you need to build a custom solution for that. Pls refer the below references. Link-1 Link-2


0

I would create folders and set the appropriate permissions on the folder level, then all the files in the folder inherit those permissions. You could do it in an even receiver on itemadded to break permission inheritance, but that would get messy if you have a lot of files. I'd stick to folder based permissions where each customer has their own folder. You ...


0

A very reasonable and practical request! From my knowledge SharePoint doesn't provide a direct way to accomplish this task, but you may be able to get around it by using a content query or list filter to display only those results that the user should see. Another option would be to create a workflow when the item is created to grant item level permissions ...


0

Evariste is Correct. I just want to add that If You are using SharePoint 2013 Online and not having any Content Types in Your libraries it will always (regardless of if You have chosen "Open documents in client applications by default") open in Office Web Apps when You "Create New". But when You open an existing document it should open in the client (if You ...


0

Frustratingly simple... it took me a while but I got there thanks to this post: https://christopherclementen.wordpress.com/2012/04/30/get-field-value-during-an-event-handler/ I ended up using ItemAdded, but in order for it to add before the form loads I had to add: Synchronous <Receiver> <Name>EventReceiver1ItemAdded</Name> ...


0

There is no OOTB feature available to tag the pages automatically. You need to write your own logic on itemupdating event which involved Object model based coding. Pls refer the below link to understand this Reference Link


1

If the user for some reason is accessing it with a IE 64 bit you will not able to see Datasheet view (to check this is the case see if the user sees the button open with explorer as grayed out). Datasheet view works with Firefox and Chrome however I noticed that unlike IE, those 2 browsers do not allow PASTE into the datasheet view.


1

First, we need to distinguish two kinds of files: Office files and other files. For Office files, you may open (and edit) them in the browser by using Office Web Application (OWA) if it's deployed and configured to work with SharePoint in your environment (or in SharePoint Online). If OWA is configured correctly, supported Office documents (Word, Excel, ...


0

Your last logic may have worked if you added an "or" statement. Else If Current Item:Diff not equal "New" or If Current Item:Diff not equal "Not New" Email Andrew Fitzpatrick


0

Have you got roaming profiles enabled? We were having similar problems as the SharePoint folder was replicated to the server as part of the profile data. Excluding SharePoint from the roaming profile solved (https://support.microsoft.com/en-us/kb/814592) these issues. The issue happening only at login time seems to support this.


0

1 - Create a List View 2 - Create a page and insert a list webpart 3 - Edit the webpart and point to created view 3 - Grant the permission to the page


1

So, first off, yikes. My first question to a situation like that will always be, "Do we actually need a single library with that many things inside of it? If so, why?" Now, to the problem at hand. Why have it all in a single library? Why not create a second library and set permissions to grant read access to your read user group on that library? You ...


0

Finally I got a partial answer to my multiple questions in this post: -The explanation gave above is the way to go, I saved the file I want the link on in Site Assets and copy the URL toward the file. when adding the link in the content editor in the page, in the link tools tab appearing when adding a link, there is a check box to allow the link to be ...


0

Go to Library for which you created views. Copy the url for different views you created. If not aware how to capture url below image will help you You can select different views from dropdown and capture urls. Then you can add them in nevigation as below:


0

Have you tried adding links using Navigation link in Site Settings -> Navigation under Look and Feel Section


1

This functionality is already developed. :)


0

The latest modifiers' name is in the field "Modified By". Author always shows the person who uploaded the first version of the document. To have the latest modifier in the Author-Field you would need to delete the file and then upload it again .


0

Go to this link and check answer from tuddy86 Mod edit, copying content over so it isn't lost. This is how I managed to have a link to new document set form, thx! This is the script I needed to make it happen from javascript: <script type="text/javascript"> var list; var listRootFolder; ExecuteOrDelayUntilScriptLoaded(init, ...


0

Add a field to the view "Modified By"; Author field refers to the first entity that created the document. Modified By shows latest entity that modified the item. If you would like to change the author you need to do it via PowerShell or create Event Receiver to overwrite the value of the field.


2

You can use below mentioned code to move files from one Document library to another document library programmatically. using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.SharePoint; namespace MoveTo { class Program { static void Main(string[] args) { using (SPSite site = ...


1

Using GUI, you can open Explorer View and make simple drag and drop.


0

There is an easier way to do this. Simply go to the List in Sharepoint, click on Modify View, and then scroll down to "Item Limit" and then change the setting from 30 to whatever you want.


1

I just encountered that in one of our sites. Management of Content Types was not allowed and the Title field was required. I could not make changes to the Title field in the library settings, so I had to allow management of Content Types, go into the Content Type, click on the Title Field, and edit the setting there. I chose "hidden" rather than optional, ...


-1

You need to set "Browser File Handling" to Permissive in Central Admin for a specific web application. Go to CA Select Web Application Click General Settings button in Ribbon From menu select General Settings again You will see a "Browser File Handling" setting on Web Application General Settings page Set it to Permissive Close browser and do iisreset


1

I needed to get the value property (OpenBinaryStream().Value). That's what appears to be storing the actual stream. My memory is a little fuzzy, but I don't remember having to do that before.. Regardless, it works!


0

I found the answer: /_api/web/getfilebyserverrelativeurl('/Shared Documents/filename.docx')/versions Gets a value that returns a collection of file version objects that represent the versions of the file.


1

There is also another option (in 2013) where you can use CSR. In below js code what I have done is, given the display form link to the Title column of a document library. RegisterModuleInit('/SiteAssets/Titlelink.js', updateTitle); updateTitle(); function updateTitle() { var priorityFiledContext = {}; priorityFiledContext.Templates = {}; ...


1

You can add a link to display form by creating new text column on a list and setting following properties on it from code or PowerShell: LinkToItem and LinkToItemAllowed. I don't think those options are available anywhere in GUI in SharePoint 2013. Example: SPField field = spList.Fields.GetFieldByInternalName(fieldInternalName); field.LinkToItemAllowed = ...


0

Okay, I figured out what the issue was. The instructions that I had said that you were not supposed to include the /form.aspx at the end of the URL for connecting the document library, but that is apparently not true. I decided to try and add it in to see if it would work and now my submit is working just as it should be! Thanks everyone, sorry for the ...


0

That might be because you are having Metadata columns defined in the Content Type. As of this moment that is not working as expected in SharePoint Online.


0

Make sure that you have all the correct columns checked off within your Library view. If they are not checked off the data will not show up because it has nowhere to go. Also, make sure you made the form save underneath a specific title each time (you can use feilds to custimize your form name each time it is filled out.)


1

The list of fonts in a word file is stored in an XML file called fonttable.xml. To get this file, you need to convert the word file into a package (zip file) and parse the contents of fonttable.xml. Note: You need to add 2 references: DocumentFormat.OpenXml.dll and WindowsBase.dll to your project for handling word processing. Following code handles ...


2

Try: $item.BreakRoleInheritance($false,$false) You will have to specify the first parameter as False, which means all the permissions from the parent will not be copied over. See the documentation for BreakRoleInheritance .


0

I tried some ways for same purpose. but did not get good results. However by using "xcopy" as DOS-prompt command , I've got Copy of Original Library. (see below. you must create "new_library" before this command) xcopy \\serverurl\original_library \\serverurl\new_libray /e note: "original_library" is not Library Template but normal Document Library.


0

You can use WebPartPages:XsltListViewWebPart from <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> with code: var view = web.TryGetView("listname"); var list = view.ParentList; var web = list.ParentWeb; ...


1

Not to resurrect an old thread but I thought I would add my regex. One issue from KB905231 it is not clear if the prohibited file suffixes (i.e. .files or _files, etc.) are including or excluding the file extension. I assumed including so foo.doc.files would not match but foo.files.doc would. ...


2

Below code will create and update a document: public void UpdateAndCreateFile(SPWeb web) { try { SPSecurity.RunWithElevatedPrivileges(delegate() { string TemplateUrl = string.Empty; try { TemplateUrl = "Your ...


2

If I understand you correctly there are 5 metedata,columns that automatically created when the word document is created. In your word template on the insert tab, go to the "Quick Parts" and select document properties. If those fields are attached to your content type you should see them there. Add them to your Word Document template wherever you want then to ...


2

I can suggest 3 ways to achieve this: First 2 are REST and Javascript: You could use SP.File.checkOutType property to determine whether document is checked out of a document library REST $.ajax({url: "/_api/web/getFileByServerRelativeUrl('" + docUrl + "')/checkOutType", headers: { "Accept": "application/json; odata=verbose" }, success: ...


1

You can try something like this: var thaUrl = "<app web url>/_api/web/lists/GetByTitle('<library>')//CheckOutType'; jQuery.ajax({ type: "POST", headers: { "Accept": "application/json;odata=verbose", "X-RequestDigest": $("#__REQUESTDIGEST").val() }, contentType: 'application/json', url: thaUrl, success: ...


0

Just experienced the same issue and none of the above solutions have worked. It turned out to be some kind of corruption of content types. I had a specific content type (Document Set) added in to the library and that was my only one and default CT. I deleted default 'Document' content type from the library using browser. Then the issue appeared. I went to SP ...


0

Posting here it might be useful for others.I just followed this link and it has done my job much easier. Thanks. enter link description here


0

You can force the document to be read-only by clicking check out option. But you cant restrict user from download it and edit by using save as option.


1

I Managed to fix this by deleting and re-creating the library. It seemed that there's an important root folder "/1" that I'd deleted.


0

Sharepoint does not provide this functionality. Even if you restrict save or download by using Javascript or any medium. users can still take print screens . (Talking from security perspective of your document) Even with read/view access they can still download the document. Right solution for your problem will be integration with IRM. This comes with ...


1

The available content types are configured at the library level, and can't be configured differently for different folder in the same library. The easiest and best way to achieve the result you want is to use multiple libraries, you can then configure the content types for each library as needed. If you have the possibility of using server side code, you ...


9

Copy your SharedPoint document library URL for example, http://sumon-pc/sites/dc/ts/Shared Documents Open Windows Explorer, right click My Computer and select Map Network Drive Choose drive letter that you want to use, then enter the URL that you copied in step 1. Then click finish. If prompt for username and password enter your SharePoint login username ...


1

Excel services will not "refresh" from inside SharePoint. Another service called "PowerPivot" can be deployed, and this extends excel services and will give you the ability to schedule a refresh of the Excel workbook. What has to occur is workbook must be opened, refresh the data, then saved back to SharePoint. That is what the PowerPivot plugin does. It ...


0

You may want to re-think your data architecture. A document library can contain custom columns for metadata, but if you have half a novel in a multi-line text field, that does not seem like a good approach. Excel can easily store more than 800 characters in a cell, but it throws errors depending on the delivery method (formula vs. manual entry, one string ...


0

Thanks a lot Jesus for your quick answer, yes I will definitely asked specific question. I will also go through all the the links you sent. Yes I am an advanced developer with HTML, CSS and kind of Intermediate with JAVASCRIPT, How I am going to use them without designer and no access to the server? can I use a third party editor. Please more detail on ...



Top 50 recent answers are included