Tag Info

New answers tagged

0

I've received this error whenever I have invalid xml in my custom ribbon. To validate that the error is relating to this ribbon custom action, you can remove it from the app and try and deploy it. Once you have confirmed this, it is a matter of idiot-checking your xml for errors. Your error may be in the CommandAction. If the commandAction Url points to a ...


0

Here is how you create a new site using a custom .wsp template with PowerShell. $mainurl = "http://<WEBAPPURL>/sites/<NAME_OF_SITECOLLECTION>" Write-Host -ForegroundColor White " – Creating Site Collection $mainurl…" -NoNewline New-SPSite $mainurl -OwnerAlias locadministrator -Name "This will have a custom template" ...


1

Use PowerShell Script To Find Where SharePoint 2010 Features Are Activated function Get-SPFeatureActivated { # see full script for help info, removed for formatting [CmdletBinding()] param( [Parameter(position = 1, valueFromPipeline=$true)] [Microsoft.SharePoint.PowerShell.SPFeatureDefinitionPipeBind] $Identity )#end param Begin { # ...


1

Yes, it should work. Personally, I don't use the syntax $userProfile["$property"], instead without the quotes like $userProfile[$property], but it should not make a difference, AFAIK. What I don't see in your code, where the $userProfile variable in the Update-UserProfileProperty method was defined. What is the type of your custom property? String / date / ...


0

Your only option on this is to setup/configure ADFS. Regards..Antelope Ref: https://social.technet.microsoft.com/Forums/en-US/029dac11-fc0d-457d-9f35-4a0eebb1dd1c/sharepoint-online-2013-custom-user-login-page?forum=sharepointadmin


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.


0

Follow these steps- Create custom master page and add it in features. Add an Event receiver on it. Write code as given below for FeatureActivated and FeatureDeactivating. public override void FeatureActivated(SPFeatureReceiverProperties properties) { SPSite site = properties.Feature.Parent as SPSite; if (site != null) { SPWeb rootWeb = ...


1

I'm not sure if this solution is possible in SPD. But in xml definition you can use EnabledScript parameter in CommandUIHandler, where you can put javascript code and check if specific page/list/view is loaded. link to similar answer Example: <CommandUIHandler Command="Ribbon.ListItem.CustomGroup.Controls.BtnSayHello.Command" ...


1

SharePoint:ListViewByQuery might do the trick. I found this example: https://social.msdn.microsoft.com/Forums/sharepoint/en-US/906a43a4-2724-45de-b1ab-285f64229e83/multi-level-grouping-in-spgridview-programmatically <SharePoint:ListViewByQuery ID="CustomersListViewByQuery" runat="server" Width="700px" /> In Code behind SPList oList = ...


0

You cannot edit master pages directly in SharePoint 2013 - you will need to edit the Seattle.html (which is a tokenized masterpage). This will allow you to add the appropriate css etc into the masterpage. However, I would suggest the following: Copy the Seattle Master into a new Masterpage. After you copy the Seattle Master to (MyCustomMaster.html), edit ...


0

My recommendation would be to: Create a CSS file with the styles you need and upload to a Document Library (Site Assets, Style Library, etc.) Edit the Master Page "seattle.master" with SharePoint Designer. Reference the CSS file you created Add the necessary markup to reference the banner image you need Save the Master Page From there on, if you neeed ...



Top 50 recent answers are included