Sharepoint 2013 online app development - sharepoint

I have been working with SharePoint online for sometime.I have been given the task to build an app to create subsites in SharePoint 2013 online website. I prefer working with C# code. I am looking into SCOM to built the App.I want to know if this can be done or does online version only supports JavaScript COM development.
I have gone through multiple materials from Microsoft but no were its clear about autohosted app running on SharPoint online.
I have created a SharePoint App project and set it to autohost. But it throws token not found error while trying to run it against sharepoint online. Looking for advice.
Edit - I need to know if SCOM can be used to develop apps for SharePoint online site
Thanks.

Sounds like you're just starting off with SharePoint apps. SP apps use CSOM (client side object model). I personally prefer JavaScript (JSOM) MSDN JSOM Basic Tasks
If you want to develop against an online environment, then select SharePoint hosted not autohosted. If you are using the app internally then continue, if you are hoping to publish it to the app store then you can report back that this requires full control permission which you are not allowed to request in an app published to the SharePoint store.

When I first started developing SharePoint 2013 online applications I found this article on codeproject a great help.
It might be usefull for you as well: http://www.codeproject.com/Articles/690015/SharePoint-2013-Online-App-Development-Part-1.
Alternatively you could give the official Microsoft Office 365 training kit a look. It's basically the same as SharePoint 2013 online.
http://www.microsoft.com/en-us/download/details.aspx?id=14889

Related

migartion sharepoint web application sharepoint 2013 to sharepoint online

actually i tried to migrate lists and document libraries from one site to another site in sharepoint 2013 and migrate sites also from 2010 to sharepoint 2013. But,I want to migrate web application from sharepoint 2013 to sharepoint online.
We are limited to creating Site collections only in SharePoint online. You cannot create/migrate the complete web application to SharePoint online in one go. You would have to migrate either a complete site collection or site level.
I have experience migrating with SharePoint migration tool from Microsoft (which is free software) and it worked well.
However, i would suggest to migrate individual site level as it would be easy to manage. I have tried migrating a site collection which failed after 40% and it was difficult to debug where the error was. I later figured it was the nintex form on a document library that was a culprit.
Good luck with your project!
You may use below methods to create apps
Using SharePoint Apps ( https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/get-started-creating-provider-hosted-sharepoint-add-ins )
Use the latest SPFx framework (https://learn.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-framework-overview) to create apps.

developing web part for sharepoint online with visual studio without local sharepoint server

Iam trying to develop webpart for firm website on SharePoint with visual studio, the problem is that there is no solution for SharePoint online - Visual web part. When i try to create SharePoint 2013 - visual web part, I get an
error message.
The only thing there is for Sharepoint online is Apps for Sharepoint and that isn't a web part, or atleast I haven't found a way to use it as such.
When I talk to my supervisor about the error, he tells me that they can't create a virtual server for me to install the SharePoint server on and I have to code it through the Sharepoint online.
Is there any way for me to develop and deploy the webpart with an online Sharepoint server instead of local one or to atleast create it through the apps for Sharepoint?
You can use App Parts, those are Web Parts that display content from an installed App, you can add them at any page of your site as normal Web Parts, App Parts are deployed in the same package as your App, so you can have everything in the same solution.
There are plenty of resources that will help you to develop Apps and to include App Parts also, just look for the right concept in google and you will find it.
There are two kinds of SharePoint Apps (or Add-ins which is the new name), the first one is SharePoint Hosted App and the second one is SharePoint Provider Hosted App, the one you need will depend on the functionality you want to achieve, but as a general reference you can think on the data source that you want to consume in your solution, e.g. if the data to be used by the App is in the SP Site where you are going to install it, then all you need is a SharePoint Hosted App, however if the data is in an external location like databases stored in local servers, then you will need SharePoint Provider Hosted App. Of course this is just a very basic view of this topic, there are other reasons to use one or the other but its pointless to make a full list here. This is a wide topic and you can find tons of articles and guides about this.
If all you need is a simple webpart to display some content with a nice look or roll up some content and provide an output based on it, then you can use a SharePoint Hosted App, which is the easiest to develop and deploy, with this kind of app you can use JavaScript get the data from your site, and then you can display your output in an App Part.
I'm sorry to not provide specific pages to read, but that's just because it's better to look for the guides that be easier for you to understand and that may vary from person to person, all you need to know is the concepts and topics to search for.
If you want me to help you with this please send me a message (my profile).

Can We Create SharePoint Custom Web Parts in Office 365 Online with out using Visual Studio?

I am new to SharePoint and Exploring the Office 365 Small business feature online using trial subscription.
I'm able to create 'App Parts' using Office 365 Developer Site Subscription(by using 'NAPA' SharePoint Developer tool).
Now I wanted to create SharePoint 'Custom WebPart' in Office 365 online without using Visual Studio 2010,2012,2013.
Please Guide me on this by providing some reference links for creating "Custom WebParts" in Office 365 Online and how can i use created web parts.
Edited:
Are there any online tools or sharepoint apps like 'NAPA' available for develop custom Web Parts online?
You can create sandbox solutions with SharePoint online.
But in SharePoint 2013 You can do many things just with Content Editor Web Part, javascript and REST services. And with search and display templates.
We are using such technics with our on-premise SharePont 2013. And its cover all our needs. Client Object Model and REST services cover almost all SharPoint features. For content processing you can use Content by Search Web Part with display templates. For UI you can use javascript components like JQuery UI.

what is the mobile layer for sharepoint?

According to the MSDN documentation, "Currently, the REST service in SharePoint 2013 Preview is read-only.", so I need to identify bi-directional, r/w access to sharepoint databases and its workflow.
MSDN Doc ref: MSDN Build mobile apps in Sharepoint 2012
Uhm... Trying my best here. What part of the MSDN documentation are you referring two. There are regular REST webservices in SharePoint 2013 which you can access almost everything of SharePoint. Right now SharePoint is in beta though, so is the documentation. Try looking for SharePoint 2013, REST and _api and you will find everything you need to know.

Difference between Office 365 preview and sharepoint online

I am new to sharepoint online. At first I need to know the difference between sharepoint online and office 365 preview.
Preview site: https://portal.microsoftonline.com/Admin/Default.aspx which looms like below.
I have also the below site
Now what is the difference between the two. My goal is to create apps and webparts. Which one shall i choose? I have not installed sharepoint 2013 server/ sharepoint foundation. Can i create apps and webparts without installing server2013/foundation2013?
The Office365 Preview is running on the new SharePoint 2013 platform. If you want to build and monetize apps/web parts, you would need to go with this option, as it is the
latest and greatest.
Go to http://dev.office.com to get all of the resources you need including links to the software, tutorials, documentation, etc...
Microsoft provides a free Office365 portal specifically for developers who want to build apps on the online platform. With this, all you would need is Visual Studio 2012 and the SharePoint/Office SDK installed to build apps. You would deploy and debug directly on the online portal without needing SharePoint installed on your environment.
I hope this helps.

Resources