archive-nl.com » NL » M » MAVENTION.NL

Total: 609

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Blog - Mavention
    11 2014 door Albert Jan Schot Inconvenient expand in OData REST query Inconvenient expand in REST query explains how to retrieve user properties in a REST query and what exception can be expected Aangemaakt op 13 11 2014 door Albert Jan Schot Exclude external users from search results in Office 365 A way of excluding external users from our people search results in Office 365 Aangemaakt op 30 10 2014

    Original URL path: http://www.mavention.nl/blog?start=116&k= (2016-02-18)
    Open archived version from archive


  • Set a default value for PublishingStartDate - Blog - Mavention
    PublishingScheduleFieldControl ID PublishingExpirationDateEdit FieldName PublishingExpirationDate InputFieldLabel Geldig tot runat server PublishingWebControls PublishingScheduleFieldControl script type text javascript Mavention SP2010 Publishing FixPublishingFields SetDateTime script Then you can create your JavaScript function where you have some logic to retrieve the field and set its correct date time settings The only thing to mind there is that the timestamp need to be rounded down to a 5 minute timespan Furthermore the code is pretty self explanatory Obviously if do not want to hide fields ore want to change the default expiry date you can make these optional or configurable Mavention Mavention namespace true typename Mavention Mavention SP2010 Mavention SP2010 namespace true typename Mavention SP2010 Mavention SP2010 Publishing Mavention SP2010 Publishing namespace true typename Mavention SP2010 Publishing This will provide a helper to set a date and time into the Publishing Start and EndDate Mavention SP2010 Publishing FixPublishingFields Mavention SP2010 Publishing FixPublishingFields namespace true typename Mavention SP2010 Publishing FixPublishingFields SetDateTime function Get the block containing the StartDate var block jQuery input id startOnFollowingRadioButton Create a new Date object that is used to set the value var now new Date if block length 0 Hide radiobutton Immediately so users cannot click it jQuery input id startTokenRadioButton getParent 2 css display none Check if there is already a value if not fill the field if jQuery input id startDateTimeControlDate val length 0 click the startdate block 0 click var min Math floor parseInt now format mm 5 5 needs to be parsed to a 5x and needs to be rounded down Set the day month and year jQuery input id startDateTimeControlDate val now format d M yyyy Set the time will need a to set correctly jQuery select id startDateTimeControl startDateTimeControlDateHours val now format HH jQuery select id startDateTimeControl startDateTimeControlDateMinutes val min If ExpiryDate is available we

    Original URL path: http://www.mavention.nl/blog/set-a-default-value-for-publishingstartdate (2016-02-18)
    Open archived version from archive

  • Blog - Mavention
    the first request after an IISReset but works fine the second request Aangemaakt op 14 6 2013 door Albert Jan Schot JavaScript and ULS logging The how and why on logging JavaScript errors to your ULS log in SharePoint Aangemaakt op 11 6 2013 door Albert Jan Schot Inconvenient rootfolder parameter in discussions Replies in discussions dropping into the RootFolder without any errors Probably a wrong URL even though it

    Original URL path: http://www.mavention.nl/blog?k=PublishingContactNameOWSTEXT%3a%22Albert-Jan+Schot%22&start=110 (2016-02-18)
    Open archived version from archive

  • Blog - Mavention
    2013 door Albert Jan Schot Speaking at European Office365 Connect on the App Model I will be speaking at the Office365 Connect at 28th and 29th of January on Apps and the App Model in Office365 Aangemaakt op 30 7 2013 door Albert Jan Schot Checked out page shows as record Having a page showing up as being declared as record even though it is not can be confusing a

    Original URL path: http://www.mavention.nl/blog?k=PublishingContactNameOWSTEXT%3a%22Albert-Jan+Schot%22&start=101 (2016-02-18)
    Open archived version from archive

  • Blog - Mavention
    even if it is a non English site Aangemaakt op 3 7 2013 door Albert Jan Schot Slidedeck from SharePoint Saturday Holland 2013 available The SharePoint Saturday 2013 Office 365 and apps slidedeck download Aangemaakt op 1 7 2013 door Albert Jan Schot Inconvienient SiteActions menu and hidding Publishing Actions Hiding the new page option from the Publishing Actions in the SiteActions menu can be a struggle and cause pretty

    Original URL path: http://www.mavention.nl/blog?k=PublishingContactNameOWSTEXT%3a%22Albert-Jan+Schot%22&start=106 (2016-02-18)
    Open archived version from archive

  • Blog - Mavention
    why on logging JavaScript errors to your ULS log in SharePoint Aangemaakt op 11 6 2013 door Albert Jan Schot Inconvenient rootfolder parameter in discussions Replies in discussions dropping into the RootFolder without any errors Probably a wrong URL even though it looks fine Aangemaakt op 17 5 2013 door Albert Jan Schot ItemDeleting events get fired when deleting a Content Type When deleting a ContentType from a list the

    Original URL path: http://www.mavention.nl/blog?k=PublishingContactNameOWSTEXT%3a%22Albert-Jan+Schot%22&start=111 (2016-02-18)
    Open archived version from archive

  • Error occurred in deployment step 'Install App for SharePoint' App Management Shared Service Proxy is not installed. - Blog - Mavention
    Management Create the App Management Service application by clicking New App Management Service Type an applicable name of the service and application pool For my development machine I left the other values default Do this also to create the Subscription Settings Service Create an isolated app domain on your development computer Microsoft has provided also some PowerShell commmand to configure your SharePoint link Start the SharePoint 2013 Management Shell net start spadminv4 net start sptimerv4 Create your isolated app domain your apps for example apps developement local Set SPAppDomain apps developement local Ensure that the SPSubscriptionSettingsService and AppManagementServiceInstance services are running Get SPServiceInstance where GetType Name eq AppManagementServiceInstance or GetType Name eq SPSubscriptionSettingsServiceInstance Start SPServiceInstance Verify that the SPSubscriptionSettingsService and AppManagementServiceInstance services are running Get SPServiceInstance where GetType Name eq AppManagementServiceInstance or GetType Name eq SPSubscriptionSettingsServiceInstance You must specify a farm admin account under which the SPSubscriptionService and AppManagementServiceInstance services will run This farm admin account must be an SPManagedAccount If your farm admin is not an SPManagedAccount you can create a SPManagedAccount with your farm admin credentials by typing the following command in the SharePoint Management Shell You will be prompted for the farm admin domain user and password account New SPManagedAccount Specify a farm admin account application pool and database settings for the SPSubscriptionService and AppManagementServiceInstance services account Get SPManagedAccount domain user appPoolSubSvc New SPServiceApplicationPool Name SettingsServiceAppPool Account account appPoolAppSvc New SPServiceApplicationPool Name AppServiceAppPool Account account appSubSvc New SPSubscriptionSettingsServiceApplication ApplicationPool appPoolSubSvc Name SettingsServiceApp DatabaseName SettingsServiceDB proxySubSvc New SPSubscriptionSettingsServiceApplicationProxy ServiceApplication appSubSvc appAppSvc New SPAppManagementServiceApplication ApplicationPool appPoolAppSvc Name AppServiceApp DatabaseName AppServiceDB proxyAppSvc New SPAppManagementServiceApplicationProxy ServiceApplication appAppSvc Specify your tenant name by typing the following code in the SharePoint Management Shell Set SPAppSiteSubscriptionName Name app Confirm false Provider hosted apps on premises part 1 Provider hosted apps are a powerful yet

    Original URL path: http://www.mavention.nl/blog/error-occurred-in-deployment-step-install-app-for-sharepoint-app-management-shared-service-proxy-is-not-installed (2016-02-18)
    Open archived version from archive

  • Building SharePoint apps with SignalR - Blog - Mavention
    current form I created a new App for SharePoint project and selected a provider hosted app Next I added a remote event receiver associated with calendar lists a calendar list and a client app part to the SharePoint app project On the AppWeb project I simply installed SignalR and its dependencies using NuGet Time for some code Using the code from the SignalR tutorial I set up the OWIN implementation for SignalR and added a Hub class to my project called NotificationHub On the notification hub I added a single method to send my notification message to the SignalR client currently online as we learned in the SignalR tutorial public class NotificationHub Hub public void SendNotification string message Clients All sendNotification message Next in the event receiver I added a call to the notification hub to update the clients Note that since we re creating the NotificationHub through code and not through what SignalR calls the hubpipeline we need to use a ConnectionManager to retrieve a HubContext templated to my class public SPRemoteEventResult ProcessEvent SPRemoteEventProperties properties SPRemoteEventResult result new SPRemoteEventResult if properties EventType SPRemoteEventType ItemAdding var context GlobalHost ConnectionManager GetHubContext var message string Format New event 0 added to 1 properties ItemEventProperties AfterProperties Title ToString properties ItemEventProperties ListTitle context Clients All broadcastMessage message return result Keep in mind that the remote event receiver is only attached to lists on the appweb so only lists which we re shipped with app It is possible to hook up a remote event receiver to a list on the host web Kirk Evans does a great job at explaining how this works in his blog post about attaching remote event receivers to lists in the host web Incidentally he also explains how to set up your Azure Service Bus which will be another issue

    Original URL path: http://www.mavention.nl/blog/building-sharepoint-apps-signalr (2016-02-18)
    Open archived version from archive



  •