Questions tagged [patterns-and-practices]

Design patterns describe common issues that occur repeatedly in application design and development and provide techniques for handling these issues. Patterns also describe the current industry practice for resolving architectural issues and for handling the design complexity demanded of applications.

7 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
60 views

The Repository Pattern , refactoring code

I'm trying to develop simple sharepoint application using the repository pattern.Application should return employee informations from SPList based on some queries and than show them into HTML table(I'...
2
votes
0answers
937 views

How to get workflow with powershell?

In SharePoint 2013 on-prem I provision custom workflows (.xaml - definitions) to SharePoint sites by using office dev-PnP. I add the workflow to a spesific list in all sites, and the workflow works ...
2
votes
0answers
303 views

clear sharepoint property bag cache without apppool cycle

I've inherited code that uses the P&P code for accessing a farm-level property bag property on SharePoint 2013 SP1. The code has an application page to manipulate the property bag, and another ...
2
votes
0answers
292 views

Is my Object Casting Model acceptable?

I'm creating a SharePoint application, and am trying some new things to create what amounts to an API for Data Access to maintain consistency and conventions. I haven't seen this before, and that ...
1
vote
0answers
271 views

Copy users between sitecollection in client side object model

I invite external users to a site collection named "Extranet" in my Office365 tenant and needs to give them access to a list in another site collection so I'm doing a timer job for that. My problem ...
0
votes
0answers
144 views

Proper way to get all lists of a certain type from an entire site collection regardless of current location

I'm creating a webpart that gives the user a feed of any annoucement list in the entire site collection, so they can aggregate data to a central portal. I'm currently using the following, but can't ...
-1
votes
1answer
412 views

Powershell PnP error converting Microsoft.SharePoint.Client.Web object

I am trying out Franck Cornu's O365StarterIntranet, from Patterns and Practices (PnP). I have updated to the latest PnP powershell Online, the latest SharePoint Online SDK. Most of the things work ...