Tag Info

New answers tagged

0

http://sharepointjournal.com/2014/08/28/sharepoint-2013-last-modifiedchanged-showing-wrong-dates-regional-settings/ Hope this solution helps you. Definetly related to the managed metadata property reading the doc properties modified date instead of the column .


1

You can get the list url from the get_defaultViewUrl method... when you load the lists you need to use the include statement to retrieve the defaultViewUrl property (it isn't included with the list results by default). Change your context.load line to: context.load(lists, 'Include(Title,DefaultViewUrl)'); Then inside of your iterator loop you can use ...


0

If the master page is edited you should check on the edited code snippets. Probably should use Ribbon.MakeTabAvailable(). Also check on a similar article link here


0

CAML query returns splistitemcollections. Why don't you get the GUID for the returned items? http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.splistitem.uniqueid%28v=office.15%29.aspx


0

Thanks for the responses, Actually I came across a remedy in a similar article Referring to tha post answer, in my code I invoked the below javascript OnClientClick event of the LinkButton. function setFormSubmitToFalse() { setTimeout(function () { _spFormOnSubmitCalled = false; }, 3000); return true; }


0

Most likely you are data-binding the grid in the Page_Load event. The Page_Load event happens on every postback - every button click, or any event that triggers the postback. If this is the case, there are two possible options: Move your data binding code to Page_Init Put your data-binding in Page_Load inside an if(!Page.IsPostback) block.


1

You cannot control the File Size limit at Document library level OOTB. What you need, you have to write your own code may be some event receiver. Check this code from this post { long validFileSize; long currentFileSize; if (properties.ListItem == null) { using (SPWeb web = properties.OpenWeb()) { ...


1

As you said, you can modify the size limit in the web application and IIS. Out of the box, you can't adjust this for a list/library. A possible solution would be to create your own form for "new item" that would check for the file size before uploading it to the document library.


0

Okay, I had an idea, and creating it as a folder, then getting the item representation of that folder, and then changing that items content type and setting all the custom fields seems to have worked. SPFolderCollection folders = docLibrary.RootFolder.SubFolders; SPFolder newFolder = folders.Add(SALAE_docLibrary.RootFolder.Url + "/foo"); SPListItem ...


0

Have you thought of using a drop off library and then create a rule based on metadata to automatically deploy the document in the correct document library. You could use this same meta tag data to display the content of the library based on the audience setting of the library (For example all users in the IT-department see only the document library which is ...


0

You can create your own permission levels which do not allow the document to be opened up from SharePoint. This will force them to have to open it outside, or download the record. If you set your permissions so people cannot delete items, the worst thing that can happen is they can save it back to the list item, but it will not overwrite the original file. ...


0

If you granted specific permissions for the folders in the Document library, "+Add Document" link can not be used. You should use the link on the ribbon.


1

You cannot get the document icon as a property, you will have to make the url for it. SharePoint has already lots of icons available in the DOCICON.xml file at C:/Program Files/Common Files/Microsoft Shared/web server extensions/14/TEMPLATE/XML Simplest way could be to load based on file extension "/_layouts/images/icXXX.gif (where icXXX, would be ...


0

Two no code, UI options are: Open with Windows Explorer, select, copy, paste Opening in SharePoint Designer


0

As Tommy pointed out in his answer and according to 3.1.4.3 Document: Inserting new documents to a document library involve sending a POST request containing the contents of the document to the EntitySet representing the document library. The protocol client MUST include the SLUG header (as specified in RFC5023 section 9.7) whose value is the ...


0

Use powershell and use this logic. this will iterate through all subfolders. also you can download it using initials of Root Folders. function ProcessAllSubfolders($folderCollection) { foreach ($folder in $folderCollection) { if ($folder.Subfolders.Count -gt 0) { ProcessAllSubfolders($folder.SubFolders) } ...


0

Roger Cormier from Microsoft wrote some PowerShell scripts for bulk exporting documents from document libraries: http://gallery.technet.microsoft.com/office/Bulk-Export-SharePoint-51857b22 Blog post about it: http://blogs.msdn.com/b/rcormier/archive/2013/03/30/how-to-perform-bulk-downloads-of-files-in-sharepoint.aspx


0

I solved the problem using moe's approach of getting the hyperlink and using that as a base for the "New Document Library" -button/link. I kept on digging and found out the link that can be used to create a new Document Library with only the basic fields Name & Description. Here it is: ...


0

For your first point: You'd check the permissions the Anonymous Access grants. WITH ANONYMOUS ACCESS TO: 1. Entire web site ANONYMOUS USERS CAN: Browse your entire site. Read any lists, libraries, or folder within a list or library that inherits its permissions from the site, and open and read any list items or documents in those ...


0

Just connect from SharePoint Designer using the farm account. Checkout the document. (The one it already says as checked out). Then checkin back. Now you will be able to delete. This is an error I have overcome many times.


1

If you examine the item using PowerShell you can get a better idea of what is going on. In all the cases where I have seen it the lock expires after short period(20 minutes) and has been caused by word setting a lock when a user has selected to edit the file: $web = Get-SpWeb http://somesite.net $item = $web.GetListItem("/relative/url/to/item.doc") ...


3

You could either change the icon for htm pages in the hive (its ichtm.gif by default ["ic" for icon and "htm" for filetype]) or overwrite it by CSS or JS. Here's a example for plain CSS: img[src="/_layouts/15/images/ichtm.gif"] { background-image: url("http://upload.wikimedia.org/wikipedia/commons/f/f0/Pdf_16x16_Crystal_SVG.png"); height: 0px; ...


1

When Internet Explorer communicates with a secure Web site through SSL, Internet Explorer enforces any no-cache request. If the header or headers are present, Internet Explorer does not cache the file. Consequently, Office cannot open the file. Web sites that want to allow this type of operation should remove the no-cache header or headers. ...


4

I do not think that can be done. It shows the 4th view only once we click on it. (Dynamic HTML) But I found a workaround. Go to Edit Page. Click on Add web part and add a content editor with the links to all 4 views. Edit list view web part and disable the view selector menu. Also if needed, set tool bar to no tool bar and remove search. (Look where to ...


0

It seems the only way to do this is to use the Calculated column as the column default value and have folder level defaults overwrite that column level default as necessary. It seems there is not a workaround if you need multiple defaults on a multi-choice column.


1

You could use a page viewer web part to view content from other websites (including a different SharePoint site collection). You'll likely need to use the isDlg=1 parameter on the query string for the page viewer source, and you might even need to create a custom view on the original list that checks the querystring in order to hide ribbon elements or ...


0

I found the solution myself and thought I would share the solution in case someone else encounters a similar challenge. By using the "Update Item" functionality in SPD you can assign the name of the folder to which you would like to move the document in the "Path and Name" field, simply by adding the foldername before the name of the file. (e.g. in my ...


0

I don't know how it would translate into SP, but if you save a PowerPoint file as .pps it will open as a slide show.


1

I think you may be looking for Office Web Apps. They allow PowerPoint documents to open in the browser. Then you can click "Start Slide Show" in the top menu. If so, I recommend reading Use Office Web Apps with SharePoint 2013.


0

In our case, the answer was to clear the Credential Manager entry. Visit the below URL. http://www.sharepointindepth.com/the-file-is-locked-for-shared-use-by/


0

List item attachments are not stored in Document Library. It is a part of the list item which is located with a correlation to the item in a Content DB. Document library is a separate independent entity. You can add a lookup to the document library and define the list item id or title in the document library. Also when you add a lookup, you can include ...


0

A library is just a type of list. If the library column has numeric data, it can be charted with the chart web part.


1

As Waqas Sarwar MCSE mentions, this is very easy to do programmatically. You need someone with the following skills: HTML, CSS, XML/JSON, Javascript. Create a script webpart on the SharePoint page and give your developer the following piece of code: _spBodyOnLoadFunctionNames.push("myCustomFunctionName"); function myCustomFunctionName() { ...


0

Unfortunately, SharePoint doesn't provide this sort of functionality out of the box. Luckily, SharePoint is flexible enough to allow for custom solutions that can solve this issue. You have to write your own piece of code to get this done.


0

when uploading documents there is already an ootb column that is called Name that links to the document, either in the default view change the name as visible (ticked) and hide the title (untick). That will only show the name. You can have both shown, to make the first column as clickable (linked) than within the view also set the Name column and 1 on the ...


0

Version numbers are controlled by the system and there is no OOTB way to change it to 0.I don't think you can change it via coding. I think may be event receiver works for you but you are going to lower number which i believe not possible at all.


3

When you create a document library, it ask you the name for the DL. Once you give it, it will create library with same name and URL. You can change the name of the library any time but cannot change the url. Here are the things i followed to create url accroding to my needs: Just go to a library trough 'Site Content' When inside the library choose on the ...


0

create a webpart using visual studios... within the webpart class add custom properties example: namespace ExampleWebPart { public class MyWebPart : WebPart { private string siteUrl = SPContext.Current.Site.Url; [WebBrowsable(true), Personalizable(PersonalizationScope.Shared), Category("custom settings"), ...


2

You can use PageViewer WebPart. Create a page in the site having document Library and add the library as a WebPart. Now Create a page in destination site SP2007 and add PageViewer WebPart their. Give the link of page you earlier created having Library. For details on how to add a PageViewer WebPart check this link


0

Currently it's not possible. You could vote for the feature here: http://officespdev.uservoice.com/forums/224641-general/suggestions/6267894-navigateforformspages-support-in-csom If you create the list through CSOM, you could add the following to your list schema: <List NavigateForFormsPages="FALSE" ... >


2

I've run into this several times, it isn't enabled by default. It needs to be enabled via PowerShell: $spWebService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService $spWebService.DeclarativeWorkflowAutoStartOnEmailEnabled = $true $spWebService.Update()


1

SharePoint only indexes the latest published revision, the last published version of the document. Previous versions are not indexed out of the box.


1

Don’t be put off by a “no” conclusion - the answer is clearly “Yes” when SharePoint Foundation provides doc storage, metadata, editing, version-control, security and workflows – all out-of-the-box. I do understand frustration that it does too much at the same time as having limitations and some clunkiness – but those are things to assess against ...


0

I think problem is that view does not refresh on page SPSite siteColl = SPContext.Current.Site; SPWeb site = SPContext.Current.Web; SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite ElevatedsiteColl = new SPSite(siteColl.ID)) { using (SPWeb ElevatedSite = ...


0

SharePoint works pretty well as a document management system out of the box. It has the following readily available: Document Libraries with granular permissions Document approval workflows Automatic document versions You can easily create your own custom document types with mandatory metadata Search capabilities Open it up a bit more and there's a lot ...


1

Got following solution from MSDN : script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { if (window.location.href.toLowerCase().indexOf('/_layouts/15/upload.aspx') > 0) { $('input:checkbox').closest("td").append("The files uploaded no ...


0

I don't know how to start, but here it goes You are apparently still keeping you options open, which is not good for the whole "ask a question", "get an answer" scenario "Is SharePoint a Document Management System?" My answer is "No". although I don't entirely agree with everything written here, some valid points are raised to confirm this theory If you ...


0

Note that Views are quite static things in SharePoint. If you want to query the document library dynamically from your web part then you may consider using the KeywordQuery class. This uses SharePoint Search to find the matching documents but you need to display the results yourself. Also you will need to filter the results to your document library. Here is ...


1

When you add the new view, you have the possibility of marking it as default view: public SPView Add( string strViewName, StringCollection strCollViewFields, string strQuery, uint iRowLimit, bool bPaged, bool bMakeViewDefault, SPViewCollection.SPViewType type, bool bPersonalView ) from MSDN. As you can see, by setting ...


0

they sound like custom fields. When you say deselect you mean within the view? to remove them if they are not visible within the main list settings area... first check to see if you have any content types: you should have at the top a load of urls for your list settings, below you should then have a list of content types that are linked to the list and ...



Top 50 recent answers are included