Quick Edit Availability

SP2013

Hello everyone,

Today I’ll talk about the quick edit feature in SharePoint Classic display.

When you go to a list, you can use the Quick edit mode either by clicking on the ribbon or on the “edit” next to “new item”

Quick Edit Availability(1)

Once the button clicked, the view changed and you can edit the list the same way you edit content in Excel

Quick Edit Availability(2)

This can be useful but sometimes, the requirement is to disable this feature.

For this, you have two options:

First scenario, you need to disable it only for a specific view

  1. Click on modify/create the view
  2. Go down to the “Tabular view” section and uncheck the box “Allow individual item checkboxes”

Quick Edit Availability(4)

 

 

Second scenario, you need to disable it for the full list

  1. Click on your list settings and go to “Advanced settings”Quick Edit Availability(5)
  2. Go down to “Quick Edit” section and select “no” for “Allow items in this list to be edited using Quick Edit”

Quick Edit Availability(6)

 

For both scenario, the result will be that the “Edit this list” will not appear and the “Quick Edit” button will be greyed out.

Quick Edit Availability(3)

Of course, if you disabled on the list, it will not be available on a single view.

Hoping this helps!

 

Christopher.

Advertisements

aOS Luxembourg ressources

aos

Hello everyone,

Last week I had the pleasure to loose my speaking virginity at aOS Luxemburg.

It was very fun to do that and a lot of people were there to share the knowledge.

Thanks again to all the people present!

If you want to take a look at our session, you can find it here : SharePoint and Javascript modern development 

You can also find the source code on Github.

Finally, all the slides used on the aOS events are there : https://www.slideshare.net/aOSCommunity

 

I really enjoy to participate on this community and it’s always a pleasure to meet new people who share the same passion!

See you all next time!

Christopher.

Speaker at aOS Luxemburg

aos

Hello everyone,

Today I must confess that I’m a virgin. I ‘ve never been speaker to any community event. This virginity is almost lost!

With my friend Yannick Plenevaux, we will present the session “SharePoint & JavaScript – Modern Development” on AOS Luxemburg the 4th of December.

If your interested, there is still some seat available! => REGISTER

Here you can find the full detail of the event

aoslux.jpg

See you there!

Christopher

SPFx – Security error on local workbench

 

SPFx

Hello everyone,

Today I’ll talk about an error that can occur when you start to develop SPFx.

Working with this, you can face yourself with an error of security when you try to launch the local workbench “This site can’t provide a secure connection

spfx error

To fix this, you should specify an environment variable in your user profile “NODE_NO_HTTP2” with the value “1”

Fix_Connection_Not_Secure_For_Localhost_SPFx

Thanks to my colleague stephane which was confronted to this error and shared his solution.

 

Update :

After some search, I found that the error was discuss on github and a solution without modifying a variable is provided.

When you run your “gulp serve”, run instead “NODE_NO_HTTP2=1 gulp serve

 

Hoping this helps!

 

Christopher

SharePoint Designer – Check if item exists

SP2013

Hello everyone,

Today I’ll talk, again, about the SharePoint 2010 Workflows of SharePoint Designer. I know it is deprecated but on some occasion, you need to use what you can!

So, one thing which is missing is the possibility to check if an item exists before doing some action.

For instance, I had an error when I tried to delete item which wasn’t existing. pretty annoying since at the end, what I wanted (not having this file) was done. But my workflow ended in “Error Occurred”.

So, as a workaround, what you can do is create a workflow variable => set its value to a value coming from the item you are looking for => check if the value is not empty to know if the item exists!

spditemexists1

Exactly!

When you try to perform an action on a non-existing item, you end up with a “Error Occurred” but if you want to read a value from a non-existing item, it doesn’t throw any error!

 

Hoping this helps!

Christopher

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

 

Quick Win – Display template missing

win

Hello everyone,

Today I’ll talk about something that is not quite clear in SharePoint (Yes… again!).

where are my dragons

WHERE ARE MY DRAGONS! …

 

euh, no, where are my Display Templates HTML files??

dtm01

 

When you want to customize a display template, all the “How to” that you can find on the internet mention that you must modify the HTML but not the JavaScript file. Well so…

When you go on a new site for the first time, sometimes those HTML files are not present! As always in SharePoint, when something is missing, let’s take a look at the features we can activate !

dtm02

With everything there, the “Search Server Web Parts and Templates” seams the best choice for me! Let’s add it and it should be ok…

 

dtm01

Well …no..

In fact, we need, again, to activate the Big Gun feature, namely SharePoint Server Publishing Infrastructure!

dtm03

And Voila!

dtm04

 

Really, with all the stuff that this feature provides, I don’t understand why it is not default activated.

 

Hoping this helps!

Christopher