Create SharePoint 2016 install package with AutoSPSourceBuilder

Hey Everyone!

Today i will speak about AutoSPSourceBuilder, a great powershell script to create a packages to install SharePoint 2016, 2013 and 2010. The packages created by AutoSPBuilder,  you can use AutoSPInstaller, a greats powershell script to automize the instalation of SharePoint also available for SharePoint version 2016, 2013  and 2010.

I deeply recommend create with this script because the package will include the most recent updates of SharePoint!

Follow the steps below:

  1.  Download SharePoint 2016, you can use the following link:https://www.microsoft.com/en-us/download/details.aspx?id=51493.

2. Download AutoSPSourceBuilder, you can download on github – https://github.com/brianlala/AutoSPSourceBuilder.

3. Mount the .iso image of SharePoint 2016.

4. Run the script – AutoSPSourceBuilder.ps1 with Powershell as admin.

.AutoSPSourceBuilder.ps1 -GetPrerequisites $true

5. The script will start and the firstly  check if exists SharePoint image,  if exists it will create a struct of folders in disk drive c.

6. You need select what is the last update that you what include on your installation package, as SharePoint 2016 updates are cumulative you just need to select the last one.

7. The script continue… and install the prerequisites.

8. Select the language pack that you want include on your installation.

9. Finally the script will finish the package.

10. At the end you have a structure of folders and files that make up your SharePoint package to run in AutoSPInstaller.


Thanks

Fábio Carvalho
SharePoint Consultant
|create|it|

 

Advertisements

SharePoint Online, 2013 and 2016 – Display list data in grid using Rest API

Hey Everyone!

Today, in this post i will show you how can we display list data in a grid using Rest API in SharePoint Online, 2013 and 2016.
In this example, i will create a table – Cars – with 4 columns:

– Make
– Model
– Price
– Color

http://span%20style=

$(function(){
    $("#btnClick").click(function(){
        var requestUri = _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/getbytitle('Cars')/items";
           $.ajax({
              url: requestUri,
              type: "GET",
              headers: {
                  "accept":"application/json; odata=verbose"
              },
              success: onSuccess,
              error: onError
});

  function onSuccess(data) {
     var objItems = data.d.results;
     var tableContent = '' + '' + '' + '' + '';
  
     for (var i = 0; i '';
         tableContent += '';
         tableContent += '';
         tableContent += '';
         tableContent += '';
         tableContent += '';
 }
   $('#carsGrid').append(tableContent);
   }
    function onError(error) {
        alert('Error');
   }
  });
});


<input type="button" id="btnClick" value="Get All Cars"/>
CustomerPanel">
MakeModelPriceColor
' + objItems[i].Make + '' + objItems[i].Model + '' + objItems[i].Price + '' + objItems[i].Color + '
tableCars' style="width: 100%;" border="1 px">
carsGrid" style="width: 100%">
</td> </tr> </table> </div>

You just need to copy the code and past in a script editor webpart, if you press the button  – Get All Cars –  the result it’s a the following table:

Mark Model Price Color
Mercedes A180 22.000.00€ Red
Jaguar X-Type 72.000.00€ Green
Fiat 500 20.000.00€ Blue
Bmw 320d 32.000.00€ Black

If you are interested to read more, i recommend the following links:
https://msdn.microsoft.com/en-us/library/office/jj860569.aspx
https://msdn.microsoft.com/en-us/library/office/jj164022.aspx

Thanks

Fábio Carvalho
SharePoint Consultant
|create|it|

Sharepoint Framework – Channel 9

Watch the introduction to Sharepoint Framework at Channel 9.

https://channel9.msdn.com/Blogs/MVP-Office-Servers-and-Services/Introduccion-al-Sharepoint-Framework/player#autoplay

Office 365: Download multiple selected files arrives to ODFB and SPO!

Read the full post from the author’s blog. Finally a long requested feature is arriving to OneDrive for Business (ODFB) and SharePoint Online (SPO): Download multiple selected files and folders using the UI: In ODFB, we can select several files and folders to get them downloaded: And the same happens with modern document libraries:

Source: Office 365: Download multiple selected files arrives to ODFB and SPO!

Feature Pack 1 for SharePoint Server 2016 now available

Today’s post was written by Bill Baer, senior product manager for the SharePoint team. When we launched SharePoint Server 2016, we shared our vision that it would be a foundational release, born in the cloud and built for continuous innovation.

Source: Feature Pack 1 for SharePoint Server 2016 now available

Google URL Shortener for SharePoint items

You can shorten URLs to make them easier to share using the Google URL shortener. For example, the short URLhttp://goo.gl/l6MS

This is a good way to share and generate short links to share documents.

1) you need to get the API Key for: https://developers.google.com/url-shortener/

2) Install Google APIs Client Library, using NuGet

googleapi

3) Check all References

shorten

4) Use the following method to generate ShortLink

public static string UrlShorter(string largeUrl)
  {
     var finalUrl = string.Empty;
     var key = "API KEY GOOGLE"
     var post = "{\"longUrl\": \"" + largeUrl + "\"}";
     var request = (HttpWebRequest)WebRequest.Create(
             "https://www.googleapis.com/urlshortener/v1/url?key=" + key);
            try
            {
             request.ServicePoint.Expect100Continue = false;
                request.Method = "POST";
                request.ContentLength = post.Length;
                request.ContentType = "application/json";
                request.Headers.Add("Cache-Control", "no-cache");
                using (var requestStream = request.GetRequestStream())
                {
                    byte[] postBuffer = Encoding.ASCII.GetBytes(post);
                    requestStream.Write(postBuffer, 0, postBuffer.Length);
                }
                using (var response = (HttpWebResponse)request.GetResponse())
                {
                  using (var responseStream = response.GetResponseStream())
                  {
                    if (responseStream != null)
                      using (var responseReader = new StreamReader(responseStream))
                      {
                        var json = responseReader.ReadToEnd();
                        var jss = new JavaScriptSerializer();
                     var dict = jss.Deserialize<Dictionary<string, string>>(json);
                        finalUrl = dict["id"]; 
                      }
                    }
                }
            }
            catch (Exception ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.Message);
                System.Diagnostics.Debug.WriteLine(ex.StackTrace);
            }
            return finalUrl;
        }

Thanks

Failed to Register SharePoint Services in PSConfig (Fix)

Unfortunately this happens on Stand Alone servers more often than you would think. Good news is that there is a really quick way to fix this.

Resultado de imagem para Failed to Register SharePoint Services in PSConfig sharepoint 2016

Open up Regedit and browse to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\15\LauncherSettings 
Create the following key:Type: DWORD
Name: AcknowledgedRunningOnAppServer 
Value: 1

Then do the same thin in the following registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\15\LoadBalancerSettings

No need to restart, just rerun PSConfig and you should be good to go.

Original: http://sharepoint-community.net/profiles/blogs/failed-to-register-sharepoint-services-in-psconfig

The Future of SharePoint

SharePoint 2016 – The Future Starts Now!!

The new Promo video about SharePoint 2016!!!

Global Azure Bootcamp 2016 – Is happening on April 16th!

Global Azure Bootcamp () is back!!! With a total of 163 confirmed event locations, and 26 pending. That’s 189 events in total! Check the different locations worldwide and register for an event near you! The big date is getting close…

http://global.azurebootcamp.net/