Tag Info

New answers tagged

0

Save Word file in HTML, open in Notepad to copy and paste into the html source window of a content editor page. If you have images, you'll need to add those separately.


0

Finally found answer by trying.As it turns out even if you have version setting disabled for sharepoint library in source site and destination site you can import with overwrite parameter. It will update the existing item. This will work only if the "Name" field of document(in case of library) is not changed.


-1

<style type="text/css"> #DeltaTopNavigation .ms-core-listMenu-root .ms-listMenu-editLink { Visibility:Collapse; } </style>


0

What you're describing is a Filtered Lookup Column, and it's a feature that SharePoint doesn't support OOTB. There ARE, however, several solutions available for creating your own. If you want the filtered lookup functionality available from within the normal list interface, you'll want to look into a custom solution like this one on Codeplex. This ...


1

It is a two step process. The Location="CommandUI.Ribbon.DisplayForm" of CustomAction specifies that a button will be added to Display form. And Location="Ribbon.ListForm.Display.Manage.Controls._children"> of CommandUIDefinition specifies that it will be added to the Manage tab of the Display form. Full Example: <CustomAction ...


0

Yes there is. Take a look at the contents of this - C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\GLOBAL\XML\CMDUI.xml. You'll find all the locations.


0

I was trying to get the same but unfortunately SharePoint doesn't seems to be providing such facility while MOSS 2007 do. Here is the workaround that i have found and it worked for me. Please keep in mind this will sort the items only in alphabetical order (regardless of numerical order). Hope this helps someone. Good Luck :)


3

The Audit feature is there in Sharepoint 2007 foundation but there is no user interface associated for auditing in Sharepoint 2007 or 2010. You can use Powershell to get the desired results Check this link(This applies to Sharepoint 2007 also) How do we activate auditing in SharePoint Foundation 2010?


3

msdn: Item-Level audit for developers Because Windows SharePoint Services does not provide the functionality to see entries that are written to the audit log, a developer must write code to enable the Windows SharePoint Services audit logging facility. A developer must also supply code and a user interface to read entries from the audit log and display this ...


1

Read the following article: Configure audit settings for a site collection Also, you can use 3-rd party solutions.


1

Could you give this a try? Go to IIS Manager and un-check the "Require Server Name Identification" in the site bindings.


0

You can specify the Search Scope in XML of Advance Search Web part. Export the Advanced Search Web part Open the web part file in a text editor You will notice something like this <ResultType DisplayName="All Results" Name="default"> <Query/> <PropertyRef Name="Author" /> <PropertyRef Name="Description" /> ...


0

Here's an example of how to do it in C# SearchServiceApplicationProxy proxy = (SearchServiceApplicationProxy)SearchServiceApplicationProxy.GetProxy (SPServiceContext.GetContext(SPContext.Current.Site)); KeywordQuery query = new KeywordQuery(proxy); query.ResultsProvider = Microsoft.Office.Server.Search.Query.SearchProvider.Default; query.HiddenConstraints ...


0

I used the following and it works to enable/disable the button when only one item is selected. <CommandUIHandlers> <CommandUIHandler Command="GCMS.CreateActionCommand" EnabledScript="javascript:var EnableDisable = function() { this.clientContext = SP.ClientContext.get_current(); ...


0

If you don't mind: Always obeying the Microsoft SharePoint 2013 way of doing things writing a separate JavaScript file Uploading it somewhere in SharePoint Creating a JSlink connection everywhere you want to execute it or messing around with extra webparts then CSR is the best option If you: Are not afraid to use something that has worked since 2010 ...


1

The location attributive "CommandUI.Ribbon.ListView" will make the button appear in List view only. Its CommandUI.Ribbon.DisplayForm which shows it in Display form. You have perhaps some old artifact in the site. Try it on a new site collection and see what happens.


0

Microsoft Virtual Academy - SharePoint Training


0

Your question will probably be closed by the admins. You haven't said what level of proficiency or familiarity you currently have with SharePoint or coding. Do you want to become a SharePoint developer? SharePoint administrator? Etc? Regardless, my number one recommendation is to invest in a PluralSight subscription: www.pluralsight.com. Lynda.com is also ...


1

If the list contains only one content type then in the CustomAction you need to define following three properties: RegistrationType="ContentType" RegistrationId="YourContenttype" Location="CommandUI.Ribbon.ListView" In the CommandUIHandlers, there is EnabledScript attribute which helps in enabling and disabling a button. You can refer to an .js file which ...


0

You could solve with Java Script. Anoter example in the blog of Laura Rogers @WonderLaura. Link: SharePoint Conditional Formatting Image: Hope it will helpfully!


2

In SharePoint 2013 was introduced a so called Client Rendering Mode (CSR) which represents a rendering engine for list views, list forms and search results. I would recommend you to consider the following approach for your task. How to highlight the rows using CSR Below example demonstrates how to highlight list task rows based on their status ...


0

There is no way to do this. Either import the spreadsheet to create a list or use Access 2010 to import the list into SharePoint.


1

Yes it is possible through new feature of SP2013 called JSLink. With JS Link, users can add a reference to their JavaScript Files as a WebPart property, and Control the Rendering of Fields & Items in Views, List Forms (Display,New,Edit) and event in WebParts.Before you use the js file, it is recommended that the JavaScript file should be Uploaded as a ...


0

Save the list as a template. Download the list template. Import the list template to the other farm and activate it as a feature. Create a list from that template. The new list will have the workflows.


1

Your lastname field must be the title field of the list you have repurposed. This is because the PlaceHolderPageTitle content placeholder on the list's dispform.aspx uses Title field as the default. You can change it easily using SP Designer. Open the Dispform.aspx for the list and make the below replacement on the existing PlaceHolderPageTitle field: ...


1

No actually. When you add an SQL Alias to your server hosting Central Admin, you need to move ALL the databases to the new storage (provided that they are using the same database server) The SQL Alias has nothing to do with the SQL Sever. It is a server feature where you point all your application to a different SQL Server. Not just SharePoint. What yoo do ...


0

There are some charts on codeplex: Chartpart, Fusion charts


0

Feel free to use this webpart. http://spjsblog.com/2012/02/03/spjs-charts-for-sharepoint-v3-x/


1

Check out this threads. http://spjsblog.com/2012/02/24/form-field-tooltip-for-sharepoint-2007-and-sharepoint-2010/ You'll have to modify add/new/edit forms of the list or document library you are working with. Then you can use any of the numerous tooltip js libraries i.e. http://jqueryui.com/tooltip/ to add tooltips to your form.


3

There are many ways to identify whether site is team site or publishing Browse to any page on the site, view the source HTML of the page, then search for “SiteTemplateID” where you will be taken straight to a line of JavaScript embedded into the page such as the following where the site template ID including configuration is assigned to a JavaScript ...


2

Here is ready to use web part from VirtoSoftware with several data sources including Google Calendar - uses its API and allows you to synchronize as many calendars as you need - http://www.virtosoftware.com/products/collaboration/virto-calendar-for-microsoft-sharepoint Hope it will help you!


1

CommandUIHandler has not only Command and CommandAction attributes but also EnabledScript attribute. It may contains javascript function returning true/false. You may use javascript CSOM to get content type of the item(s) and enable/disable your button. Hiding button completely is different story and is not usual in SP. <CommandUIHandler ...


0

I got a lot out of performing the Lab steps from these 2 course materials on GitHub. https://github.com/OfficeDev/TrainingContent/tree/master/O3652-5%20Deep%20Dive%20into%20SharePoint%20Hosted%20Apps https://github.com/OfficeDev/TrainingContent/tree/master/O3652-6%20Deep%20Dive%20into%20Provider%20Hosted%20Apps The corresponding courses were excellent but ...


1

This is my code for vwp properties: private string _lista = ""; [WebBrowsable(true), WebDisplayName("[some name]"), WebDescription("[some name]"), Personalizable(PersonalizationScope.Shared), Category("some category")] public string _Lista { get { return _lista.ToString(); } set { _lista = value; } } As you can see the only diference with your ...


4

You are trying to read the property values too early in the web part life cycle. The property values are populated from the content database after the constructor has run. If you check the property values in OnLoad or OnPreRender you will see the values you have set in the editor.


1

You can use this 3-rd party web part - Sharepoint Change Password Web Part


1

Modules are used to deploy files to SharePoint Content Database. They can't deploy a file to physical folder. When you add a mapped folder like layouts to SharePoint VS Projects, the files inside the mapped folder automatically get deployed to physical path.


1

The assembly in a sandbox solution does not get deployed to the GAC and it does not run in the regular worker process (w3wp). It instead runs in a separate worker process called the user code process. Sandbox solutions are limited to using a subset of the server object model and the are restricted from accessing anything outside of SharePoint (external web ...


0

You can hide Left Navigation Items with jQuery. Apply this jQuery on your Master Page : <script type="text/javascript"> jQuery(document).ready(function () { jQuery(".ms-core-listMenu-item:contains('Recent')").parent().hide(); jQuery(".ms-core-listMenu-item:contains('Notebook')").parent().hide(); ...


0

You can have literally hundreds of thousands of site collections; 250 sites and 250 users is trivially small for Office 365 to handle. Site Collections are a natural security boundary for SharePoint, and your idea of having site collections per client, as well as for your cross-functional teams, is a pretty good one since it allows you to manage security on ...


1

You are committing one Cardinal Sin of .NET programming; you are deleting items of a collection in a foreach loop. When you delete an item in a loop like this, you are changing the collection that's being iterated, but the foreach loop still attempts to iterate as if the collection was still in its original state, and eventually the enumerator get out of ...


0

Yes I can understand your question try this SPSite spSite = new SPSite(SiteUrl); SPWeb spWeb = spSite.OpenWeb(); int i; for (i = spWeb.Navigation.QuickLaunch.Count - 1; i > 0; i--) { spWeb.Navigation.QuickLaunch.Delete(spWeb.Navigation.QuickLaunch[ i ]); } spWeb.Update();


1

The answer is: HttpContext.Current.Request.QueryString Also make sure your page inherits from either LayoutPageBase or UnsecuredLayoutPageBase whic are the base classes for application pages.


0

If GetListItems returns SPListItemCollection than you can use SPListItemCollection.GetDataTable() method


0

Verify user is logging on with proper credentials, sometimes users use incorrect domain when logging into SP causing this kind of issue, so they use e.g. corp.local\myaccount, while the actual permission in SP has been given is corp\myaccount. Use Fiddler to determine if some specific resource on the site (such as style sheet) hasn't been published or user ...


2

Yes, it should be possible. See this article as reference, and sample code here. In that sample a custom field was developed to achieve the same goal, but you can easily translate that into a ribbon component (button) as well. yourFile.Item["Created"] = DateTime.Now; yourFile.Item.UpdateOverwriteVersion(); The sample allows only site admins ...


0

I tried the approaches from Stefan and from Phil, but I was not able to get them to work for me. My solution was to create a new blog site in my stage environment, then use Sharegate to copy the custom site columns (adding them to the posts library, of course) and then the content from the photos library and posts list. This gave me essentially a mirror of ...


0

There are multiple approaches to achieve this, from CSS only, to overrides in C#, among others. The following StackOverflow post explains many methods that are valid to achieve this. http://stackoverflow.com/questions/1050610/how-can-i-hide-the-sitemappath-root-node-on-home-page


1

SOLVED! Months ago, I applied a custom patch to the compat.browser files to support Safari 8 and iOS 8. Despite this update not touching that browser file, the change still broke it. I reverted to the previous compat.browser file (dated 2/11/2014) for each site, and SharePoint came back to life. Then, I added this different patch to make Safari 8 happy. ...


0

I used this exact code below yesterday as is without changing even one line. It worked. I did have to download the SP 2013 Client Components SDK. I brought up PowerShell V3 and copy/pasted in the code below. Then I ran this: # Invoke-RestSPO -Url "https://XXXXXXXX.sharepoint.com/_api/web" It worked first time. You can use this to make sure your URLs ...



Top 50 recent answers are included