SharePoint Designer mail format error

SP2013

Hello everyone,

Today I’ll talk about a weird behavior you can have with the SharePoint 2010 Workflows of SharePoint Designer.

The problem was happening with some mail sent. In fact, sometimes, the content of the mail was weird.

Sample:

  • Some text where bold when received by some user
  • Some word where containing spaces coming from nowhere

 

Etc…

After some time checking my mail content, I went to see the properties of the mail

wmc01.png

Then on the body

wmc02

There is the content of my mail

wmc03.png

 

After some check with other mail having no issue, I found that a parameter was missing from the HTML Tag => xmlns:o=”urn:schemas-microsoft-com:office:office”

Change it like this

wmc04.png

Republish and all went ok!

Hoping this helps!

 

Christopher

 

Advertisements

Download all files from library

pnp logo

Hello everyone,

Today I’ll share a little PowerShell script I made some time ago. It allows you to download all files of a single library, looping through all subfolders. This script use PNP PowerShell .

It was done for Office365 but should work the same way for onpremise. You just need to update the parameter on the top and run it. It will prompt you for your credentials to access the site and then download all the files to the specified directory (creating it if it doesn’t exist)

Hoping this helps!

Christopher

 

List of free tools for SharePoint

Hello everyone,

Today I’ll do some advertising for another blogger who makes a great post about free tools for SharePoint.

Some of them are new to me and seems pretty awesome! Great job Velin and Thank you for this one!

http://blog.velingeorgiev.pro/sharepoint-online-free-developer-tools-list-more-productivity

 

Hoping this helps,

Christopher.

Quick Win : Allow multiple contributors on Drop-off Library items

win

Hello everyone,

Today in the Quick Win series, I will talk about a problem that may arise when working with the Content Organizer feature.

Problematic

As a reminder, the content organizer allows to classify a document based on rules. These rules are based on the metadata value and allow you to move the document to the right place.

This feature is really useful but has strange behavior.

When a person edits the properties of a document in the drop-off library and does not complete the information necessary to be classified, the document is no longer visible to other users!

Cause

When a document is added to the library, it naturally inherits permissions associated with that list.

0102

When a user edits the properties of this document, the document continues the process but remains in the drop-off library. However, an additional action is done by SharePoint => Break permissions, remove existing one and give access directly to the current user!

03

It has more than once happened that the business requirement is that several people can process a document, and potentially add each some information, before the document is finally classified.

Resolution

Several solutions are possible since this comes from a business need. In the first case, we could think of using several libraries with workflows to transfer from one library to another but it seems to me “overkill”.

I prefer to opt for the simple solution, keep the document in the drop-off library and prevent SharePoint from breaking the security! To do this, the simplest solution is to do it before it! Indeed, if the document has permissions broken, SharePoint no longer removes the permissions associated with the document!

To put this in place, SharePoint designer is our friend!

NB : I know that SharePoint Designer will not last long but currently it is a solution that works both On Premise and Online.

Steps

Create a SharePoint 2010 workflow

04

Use an Impersonation Step and remove the default step

05

Add Action « Replace List Item Permissions »

06

Give the contribution permission to the people who will use the list

07

Specify that the action should take place on the current item

08

Go to workflow settings

09

Configure the workflow to start automatically when updating a document

10.png

Publish workflow

11

When the data in a document are changed and submitted, the workflow will update the permissions with what you have specified

12

 

NB: Of course, once at destination the document will no longer have the specific permissions set in the drop-off.

Hoping this helps

Christopher