Mindblown: a blog about philosophy.

  • Relation zwischen Liste und Bibliothek herstellen

    http://coffeetime.solutions/how-to-build-a-1n-relation-between-sharepoint-list-and-library-add-documents-to-list-item/

  • ‚console‘ is undefined error im Internet Explorer

    Fehler im SharePoint WepPart: referenceerror: ‚console‘ is undefined ReferenceError: ‚console‘ is undefinedTypeError: Unable to get property ‚_events‘ of undefined or null reference Inhaltseditor erweitern um: <script type=“text/javascript“> // Avoid console errors in IE if console is not open if (typeof console == „undefined“) { this.console = {log: function() {}}; } </script>  

  • Datei auf SharePoint Server auf SharePoint hochladen

      # Set the variables $WebURL = “http://portal.contoso.com/sites/stuff” $DocLibName = “Docs” $FilePath = “C:\Docs\stuff\Secret Sauce.docx” # Get a variable that points to the folder $Web = Get-SPWeb $WebURL $List = $Web.GetFolder($DocLibName) $Files = $List.Files # Get just the name of the file from the whole path $FileName = $FilePath.Substring($FilePath.LastIndexOf(„\“)+1) # Load the file into a…

  • Speicherbelegung der gesamten SharePoint Farm

      Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue #query all web apps $webapps = Get-SPWebApplication $Export =@() foreach($webapp in $webapps){ $result = Get-SPSite -Limit All -WebApplication $webapp | Get-SPWeb -Limit All | ForEach-Object { #Iterate through each document library Foreach ($SPList in $_.Lists) { #Get Document Libraries If($SPList.BaseType -eq „DocumentLibrary“) { foreach ($item in $SPList.Items) { # add…

  • Office Template in SharePoint öffnen [spezifisch]

    So ist es möglich, einen Link so zu platzieren, dass ein Template-Dokument in SharePoint geöffnet und zurückgespeichert werden kann: <a href=“javascript:;“ onclick=“CoreInvoke(‚createNewDocumentWithRedirect2‘, event, ‚http://SPSite/sites/xyz/Project/Forms/Project/template.xltx‘, ‚http://SPSite/sites/xyz/Project‘, ‚SharePoint.OpenDocuments‘, false, 0, true, 0);“>Create new Document</a>  

  • Office Template in SharePoint öffnen [global]

    Dieses Skript erfasst alle <a> Links, die auf ein Template-Format von Microsoft Office enden und verändert sie so, dass sie als neues Dokument von Client geöffnet werden können, ohne das Template zu verändern: <script type=“text/javascript“ src=“../../Style%20Library/xyz/jquery-2.2.4.min.js“></script> <script type=“text/javascript“> SP.SOD.executeFunc(„clienttemplates.js“, „SPClientTemplates“, function() { SPClientTemplates.TemplateManager.RegisterTemplateOverrides({ OnPreRender: function() { console.log(‚CSR OnPreRender‘); }, OnPostRender: function() { console.log(‚CSR OnPostRender‘); console.log(„set…

  • Doppelten Titel in SharePoint Pagelayout entfernen

    Im Pagelayout ist unter <!–SPM:</SharePoint:SPTitleBreadcrumb>–> folgendes zu entfernen: <!–CS: Ausschnitt Seitenfeld: Titel starten–> <!–SPM:<%@Register Tagprefix=“PageFieldFieldValue“ Namespace=“Microsoft.SharePoint.WebControls“ Assembly=“Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c“%>–> <!–MS:<PageFieldFieldValue:FieldValue FieldName=“fa564e0f-0c70-4ab9-b863-0177e6ddd247″ runat=“server“>–> <!–ME:</PageFieldFieldValue:FieldValue>–> <!–CE: Ende Ausschnitt Seitenfeld: Titel–>  

  • Umlaute in Seitenlayouts

    Nach <!–MS:<asp:ContentPlaceHolder id=“PlaceHolderAdditionalPageHead“ runat=“server“>–> einzufügen: <meta http-equiv=“Content-type“ content=“text/html; charset=utf-8″ />

  • Daten aus einer Liste abrufen

    Dieses Skript wird auf der Seite XYZ im Bereich ABC benutzt, um zum einen die Benutzung der Links in der Spalte „Klicks“ mitzuzählen und zum anderen ‚onQuerySucceeded‘ ggf. vorhandene Office-Dokumentenvorlagen als Dokumenten in Office zu öffnen, statt die Dokumentenvorlage zu bearbeiten. Zu hinterlegen im Inhalts-Editor auf der gewünschten Seite, wo die Daten abgerufen werden sollen:…

  • Sync des Result Types mit aktualisiertem Display Template

    http://stevemannspath.blogspot.de/2013/03/sharepoint-2013-search-managed-property.html   The Search Display Templates in SharePoint 2013 provide a nice and easy way to modify how search results appear to the end user. This may involve adding additional managed properties to the mark-up such that the display template shows additional fields of search data. However, just adding the managed property to the display template does…

Hast du irgendwelche Buchempfehlungen?