Menu
  • HOME
  • TAGS

Creating SharePoint App package without Visual Studio

visual-studio,sharepoint,sharepoint-apps

You certainly can create app packages without Visual Studio. After all this packages are simple cab files (how to create cab file). But I would suggest you to use Visual Studio to create at least one package to get correct package structure. After you do that you can easily generate...

Fetching all items in SharePoint List

javascript,jquery,sharepoint-apps

I have found the solution for the above mentioned issue enter code here function Fetchdata() { var ctx = new SP.ClientContext(appWebUrl);//Get the SharePoint Context object based upon the URL var appCtxSite = new SP.AppContextSite(ctx, hostWebUrl); var web = appCtxSite.get_web(); var list = web.get_lists().getByTitle("Announcement"); // var camlQuery = new SP.CamlQuery(); //camlQuery.set_viewXml(''...

Angularize SharePoint Client Side Taxonomy Picker

angularjs,sharepoint,sharepoint-2013,sharepoint-apps

Given the challenges of making a "responsive" Managed Metadata field, I built the following using the JavaScript Object Model to retrieve terms and then push them for use in an Array. This includes retrieving Synonyms. // Query Term Store and get terms for use in Managed Metadata picker stored in...

Change background color of table cells according to their header

javascript,html,css,html-table,sharepoint-apps

try this: for (var z = 1; z < rows.length; z++) { rows[z].cells[0].style.backgroundColor = "#c1c1c1"; // Sunday rows[z].cells[6].style.backgroundColor = "#c1c1c1"; // Saturday } Example Note your loop was finishing a row early and should start from 1 (as 0 will be your header row) UPDATE Given your edit I have...