Posts

Showing posts with the label 2016

Error when activating feature of list instance

Image
Hello,

Always we separate our project in features :
feature for the list instance.
feature for the list definition.
that's will help us to keep data of our list when we disable and we enable features.

so we should activate first of all the list definition then the list instance:
when activating the list instance we get this error:


to fix this issue we should add the feature ID in the listInstance elements.xml:

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <ListInstance Title="TicketLD" OnQuickLaunch="TRUE" TemplateType="100" Url="Lists/Ticket" Description="Ticket List instance" FeatureId="2a3ef305-e7f8-4582-ad89-89612ff82d8b"></ListInstance>
</Elements>


Thanks for sharing.

PropretyBag with JavaScript in SharePoint 2013

Image
Hello,
as we know, Property bag are very important in SharePoint development, and to get it with JavaScript is very simple :



//wait until client object model dependencies are loaded before executing our code ExecuteOrDelayUntilScriptLoaded(getWebProperties, "sp.js"); varwebProperties;

My first experience with SharePoint 2016 on premise

Image
Hello,
Today i will share with you my Experience with SharePoint 2016 on premise. I installed this farm on my Personnel machine. Just for testing with 6 RAM memory and 80 GB Hard disk, and also 2 processors. Ha-ha
The Top Bar:
As we see a new sexy black top bar. Same as Office 365.
New option MINROLE:
 Convert Server role in this farm, is a new option that’s allows us to change the role of each server simply.

Information policy
A new section in the security scope that helps us to configure IRM ;)