Month: July 2012

Sharepoint 2013 Geolocation Fields.

Posted on Updated on

This is a great feature and I am not going to write something somebody else already did very well explained.

I love this new field type:

https://www.nothingbutsharepoint.com/sites/devwiki/articles/Pages/Geo-location-Field-in-SharePoint-2013.aspx

Advertisements

The requested service, ‘http://myserver:32843/guid/AppMng.svc’ could not be activated

Posted on Updated on

I got this exception when I was trying to deploy my sharepoint app.

Error occurred in deployment step ‘Install App for SharePoint’: The requested service, ‘http://myserver:32843/d977900ececd44f2b415fe98eb317ede/AppMng.svc’ could not be activated

So I used that url and paste it into a browser and I came up with this:

Memory gates checking failed because the free memory (58085376 bytes) is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.

Then I checked the Task Manager, and I found a process NodeRunner.EXE with about 4GB of ram used.

Solution is here:

http://www.information-worker.nl/2012/07/27/sp2013-memory-usage-noderunner-process/

APIS in Sharepoint 2013.

Posted on Updated on

So, here we are, one week after Sharepoint 2013 Preview was released for testing to the public.

Sharepoint 2013 has lots of new features, but in this post I will talk and clarify about the APIs.

 

image

 

Server Object Model:

Namespace: Microsoft.SharePoint

The server object model allows the developer to use all the features of SharePoint Server 2013 or Sharepoint 2013 Foundation. Its required that the applications that use these models be installed on the farm,  usually as farm solutions.

 

CLIENT OBJECT MODEL

Namespace: Microsoft.SharePoint.Client

This API is to make applications in any other client different to Windows Phone, like a PC, an application server, or a web worker role in windows azure.

To be able to start working on it, you need to download the SDK here:

http://www.microsoft.com/en-us/download/details.aspx?id=30355

 

Silverlight Object Model

Namespace: Microsoft.SharePoint.Client.Silverlight

This will be the  object model to build  applications in silverlight, and it wont depend of the location of the application.  It proves exactly the same functionality than the client object model with the difference that all server calls will be done asynchronously.

 

Mobile Object Model:

Namespace: Microsoft.SharePoint.Client.Phone

This will be the application model to make applications with windows phone.  This API provides the same functionality of other APIs but they are oriented to  devices.

 

JAVASCRIPT Object Model:

This model has the same functionality of the client object model, just to be used from javascript code.

Due to the new APP model does not allow server side code, this model will be the main one to write the new Sharepoint APPS.

One of the new things here, is that with this model we can query data across different domains.

REST / ODATA ENDPOINT

One of the biggest changes in Sharepoint 2013 is the REST Service, it uses the ODATA Standard and it includes an endpoint for the vast majority  of the objects in the client model.   In this way we can interact with  Sharepoint 2013 only using HTTP Rest Requests.

image

http://msdn.microsoft.com/en-us/library/fp142385

http://msdn.microsoft.com/en-us/library/jj164022

 

WCF DATA SERVICES FRAMEWORK

Sharepoint 2013 also includes WCF services to interact with Sharepoint data.

Basically we have listdata.svc to query list data as we did in previous verions, or call client.svc in which we have the vast majority of objects as explained before.

 

http://msdn.microsoft.com/en-us/library/ee535480

How to Start Development in Office 15 Preview and Sharepoint 2013 Preview

Posted on

 

1st.   You need to sign up for an office preview account, they will provision for your all tools.

Go here:

http://msdn.microsoft.com/en-us/library/office/apps/jj220030(v=office.15)

2nd  Read well, this is not for production, they say, at the end of the preview your data will be deleted from the environments.

Here is what it looks like after provisioned.

I was very surprised, I never used sharepoint online before, and it looks like now we have AD, Exchange, LYNC on the cloud as well?

 

I just wanted to post some screenshots, but you can go ahead and try it, its free for now.

image

image

image

Outlook in the cloud.?

image

 

Then Read, Read and Read.

Resources are everywhere

Start asking here:

http://social.msdn.microsoft.com/Forums/en-US/appsforsharepoint/threads

Start Reading here:

http://msdn.microsoft.com/en-US/office/apps

How to Start Development in Office 15 Preview and Sharepoint 2013 Preview

Posted on

 

1st.   You need to sign up for an office preview account, they will provision for your all tools.

Go here:

http://msdn.microsoft.com/en-us/library/office/apps/jj220030(v=office.15)

2nd  Read well, this is not for production, they say, at the end of the preview your data will be deleted from the environments.

Here is what it looks like after provisioned.

I was very surprised, I never used sharepoint online before, and it looks like now we have AD, Exchange, LYNC on the cloud as well?

 

I just wanted to post some screenshots, but you can go ahead and try it, its free for now.

image

image

image

Outlook in the cloud.?

image

 

Then Read, Read and Read.

Resources are everywhere

Start asking here:

http://social.msdn.microsoft.com/Forums/en-US/appsforsharepoint/threads

Start Reading here:

http://msdn.microsoft.com/en-US/office/apps