Posts

SharePoint Recurrence Event XML Format and Standard

SharePoint stores the recurrent event as xml format, to prepare the xml it requires the blow tags and attributes. < recurrence >   < rule >    < firstDayOfWeek > mo </ firstDayOfWeek >    < repeat >  …  </ repeat >     < repeatInstances > …< / repeatInstances >  |   < windowEnd > … </ windowEnd >  |    < repeatForever > … </ repeatForever >  </ rule > </ recurrence > And further we’ll explore all the nodes and their meanings. Main node is  <rule>  and it has 3 childs: 1.          <firstDayOfWeek>  is to define what day is the first day of week in that local culture. Possible values are: mo, tu, we, th, fr, sa, su (for Monday, Tuesday, Wednesday, etc.) Usually we have  <firstDayOfWeek>  set to ‘mo’ (Monday). This ...

cannot find module scss file in SPFx web-part

This error occurs while we are building a new webpart There are two possible solution as belwo that worked for me Made a small change in the .scss file and save it. If the above not work then simple run the project by "gulp serve". the error will no longer exists after this.

Unable to find the npm root, something went wrong. Unable to upgrade the yoman generator

Err or  Unable to find the npm root, something went wrong. Try to execute npm -g root --silent on your command-line Possible Soltions Get the root folder using command npm root -g  "C:\Users\UserName\AppData\Roaming\npm\node_modules" Go to the npm folder at root path "C:\Users\UserName\AppData\Roaming\npm\node_modules\npm" Opent the npmrc file in notepad and remove the prefix save the file and try to update yoman

javascript change window url without reload

HTML5: Changing the browser-URL without refreshing page An often overlooked feature of HTML5 is the new “onpopstate” event. This new feature offers you a way to change the URL displayed in the browser through javascript without reloading the page. It will also create a back-button event and you even have a state object you can interact with. This means you won’t have to use the hash-hack anymore if you want add state to your AJAX-application, and search engines will be able to index your pages too. Example :  if (history.pushState) { window.history.pushState(“object or string”, “Title”, “/new-url”); } You can programmatically invoke the back-function by running: window.history.back(); And you can of course go forward too: window.history.forward(); Or even go to a specific history state: window.history.go(2);

How add Multiple line of text column in document library

Image
How add Multiple line of text column in document library ?   Below are the steps   Create a site column as multiple line of text with  Append Changes to  existing  text mode.   Go to site setting - > Site columns     Create new column as Multiple line of text       Now add this column to your document library.     OUTPUT