Making Sharepoint 2013 apps configurable
Hi,
We have created a sharepoint provider hosted app which adds a custom action to all the documents in the document library. Once the user clicks the action, sharepoint redirects the user to our existing product (running on apache tomcat). Our product then uses
OAuth and Rest Api to read information from sharepoint online. Now the issue is that the app would deployed to our customers on a per customer basis. We can't put the app on the marketplace as our product doesn't support multiple tenancy. We will provide the
.app files to the customers which they can deploy to their sharepoint. Currently we have to provide App Id and App Secret while publishing the app. How can the customers modify the app files to change the app id , app secret and the redirect url of the
app without using visual studio or any programming tool
Thanks
Pranava
Hi,
You could access below link may be that can help.
You could specify the properties atleast, I do not know can you really change the app secret and app id too.
http://www.sharemuch.com/2013/01/13/adding-app-part-properties-in-sharepoint-2013-hosted-apps/
Similar Messages
-
Unable to open any Sharepoint 2013 Apps
Hi all,
I am having an issue whenever I try and open third-party SharePoint 2013 Apps on our on-premises server. I have configured the app domain as per
http://technet.microsoft.com/en-us/library/fp161236(v=office.15).aspx and installed some random third-party apps (eg. "Yammer App for SharePoint", "Corporate News App").
I can go to the Microsoft Store and purchase apps and make them available to sites, however whenever I go to any of these sites "Site Contents" page and click to open any of the Apps it ends up redirecting the user back to the top-level sites homepage.
Initially it was freezing on a blank page, but looking through the logs on the server there was an authentication error with a service account password. Having resolved that issue it now just returns to the homepage of the top-level site.
Looking through the logs it appears that it gets redirected to the appropriate app domain URL, it then gets an Access Denied errors and attempts to redirect to an "Authenticate.aspx" URL in the apps domain. It then seems to fail authenticating
with "Attempted to perform an unauthorized operation" and go back to the top-level site.
A copy of the log file can be found at:
http://insertdisk.com/log.txt
The main sites web application is configured to use claims-based authentication via ADFS, anybody have any ideas?Hi ,
According to your description, my understanding is that you encountered an authentication error
when you try to open third-part SharePoint 2013 Apps on your on-premises server with ADFS authentication.
Configuring the app domain is
necessary for setting up SharePoint Apps Development environment. If you just install and open third-part SharePoint 2013 Apps, it is not necessary.
Also for your issue, you can have a look
to the blog:
http://blogs.msdn.com/b/spses/archive/2014/01/17/how-to-use-adfs-with-sharepoint-hosted-apps-in-sharepoint-2013.aspx
http://www.wictorwilen.se/sharepoint-2013-with-saml-claims-and-sharepoint-hosted-apps
Thanks,
Eric
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Eric Tao
TechNet Community Support -
Setting up SharePoint 2013 Apps in a load balanced environment
All,
Looking for some articles on how to configure SharePoint 2013 Apps in a load balanced farm (2 WFEs, 2 APP servers, 2 SQL DBs).
Thank you!if the load balancing environment is already well configured, thes rest is very easy, there is no difference between a configuration of load balancing environment and a simple one, for you that is transparent, except the manual deployment and manual copying
of files in the directory 15 -
Can i use Report viewer web part in SharePoint 2013 app to show SSRS reports?
Can i use Report viewer web part in SharePoint 2013 app to show SSRS reports?
SharePoint app you mean a simple sharePoint 2013 application like site, team site etc, or do you mean an App (the new feature like webPart).
To add a SSRS Report viewver web part follow these steps
1. Edit the page
2. Choose insert a webpart
3.Select SQL server Reporting -> SQL Server Reporting Services Report Viewer webpart
4. Configure the webpart to show your .rdl files.
(See the img below. Plz mark as answered if it helps). -
Network Load Balancing between SharePoint 2013 App server and WFE
Hi,
Can we do NLB between SharePoint 2013 App server and WFE Server ?
Below is our Architecture,
1. WFE Server (1)
2. APP Server (1)
3. Database Server
4. Domain Controller
We have configured NLB but, when we stop IIS on APP server, SharePoint 2013 web app link is not working.
is it possible ?
Please help usYou can do NLB between WFE and APP server however make sure that web application service is started from central admin which host sharepoint sites.
Why do you stop IIS on APP server, definitely it will not be able to host web app sites. rather you can just disable APP node on NLB to test it. -
SharePoint 2013 App Custom Action in Wiki Page
Hi
I am trying to create a SharePoint 2013 App that also has a Custom Action that has to be visible in Pages tab. Code below
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction
Id="COB.SharePoint.Ribbon.NewGroupInExistingTab"
Location="CommandUI.Ribbon" >
<CommandUIExtension>
<CommandUIDefinitions>
<CommandUIDefinition Location="Ribbon.Templates._children">
<GroupTemplate Id="Ribbon.Templates.NewGroupInExistingTab.OneLargeExample">
<Layout Title="NewGroupInExistingTabOneLarge" LayoutTitle="NewGroupInExistingTabOneLarge">
<Section Alignment="Top" Type="OneRow">
<Row>
<ControlRef DisplayMode="Large" TemplateAlias="Button1" />
</Row>
</Section>
</Layout>
</GroupTemplate>
</CommandUIDefinition>
<CommandUIDefinition Location="Ribbon.WikiPageTab.Scaling._children">
<MaxSize
Id="COB.SharePoint.Ribbon.NewGroupInExistingTab.NotificationGroup.MaxSize"
Sequence="15"
GroupId="COB.SharePoint.Ribbon.NewGroupInExistingTab.NotificationGroup"
Size="NewGroupInExistingTabOneLarge" />
</CommandUIDefinition>
<CommandUIDefinition Location="Ribbon.WikiPageTab.Groups._children">
<Group
Id="COB.SharePoint.Ribbon.NewGroupInExistingTab.NotificationGroup"
Sequence="15"
Description="Custome Actions"
Title="Oltiva DW"
Template="Ribbon.Templates.NewGroupInExistingTab.OneLargeExample">
<Controls Id="COB.SharePoint.Ribbon.NewGroupInExistingTab.NotificationGroup.Controls">
<Button
Id="COB.SharePoint.Ribbon.NewGroupInExistingTab.NotificationGroup.ContentSources"
Command="COB.NewGroupInExistingTab.Command.Notify"
Sequence="10"
Image16by16="/_layouts/images/NoteBoard_16x16.png"
Image32by32="/_layouts/images/NoteBoard_32x32.png"
Description="Uses the notification area to display a message."
LabelText="Content Sources"
TemplateAlias="Button1"/>
</Controls>
</Group>
</CommandUIDefinition>
</CommandUIDefinitions>
<CommandUIHandlers>
<CommandUIHandler Command="COB.NewGroupInExistingTab.Command.Notify"
CommandAction="~remoteAppUrl/Pages/Default.aspx?{StandardTokens}"
/>
</CommandUIHandlers>
</CustomAction>
</Elements>
The above code works fine, but I want the Custom Action to Open in a new Pop up box, like
javascript:SP.UI.ModalDialog.showModalDialog({ url: 'www.google.com', title: 'Default' });
The movement I change the CommandAction to JavaScript, the app breaks, if I remove the ~remoteAppUrl/Pages/.... the app does not work, it does not apper in the site content. and in appcatalog it shows wrong version number and says Valid App package
as no. what am I doing wrong.
Regards, VikramHi Carl,
As a security policy, a new customer cannot upload images and links. You can try to add links as text and upload your images to Onedrive and share it temporarily.
Thanks,
Eric
Forum Support
Please remember to mark the replies as answers
if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]
Eric Tao
TechNet Community Support -
How to create Ticket Booking Functionality in SharePoint 2013 App?
We have created a Ticket Booking site in Asp.Net.
In that in Ticket Booking page user can book the ticket and the booked seats will be stored in the database. If there are any booked seats it will be disabled for the user and from other user can book tickets.
Took reference from this site:
http://techbrij.com/online-ticket-booking-system-asp-net-sql-server
Now I want to do same functionality using SharePoint 2013 App Part with SharePoint Hosted App.
I don't know how to start
Anybody having Idea.
Thanks in Advance.Hi,
According to your post, my understanding is that you want to create a Ticket Booking solution as SharePoint Hosted App.
To build the similar solution in SharePoint, I would suggest you take a look at the links below about how to create ShrePoint Hosted App for a quick start:
Create Host App:
How to: Create a basic SharePoint-hosted app
Create App Part:
How to: Create app parts to install with your app for SharePoint
Then for the data storage, here is a documentation will provide more information:
App data storage:
Data storage options in apps for SharePoint
For the responsive UI, HTML plus JavaScript would be OK.
Feel free to reply if there are still any questions.
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
How to add List view to SharePoint 2013 app
Hi
I'm developing intranet metro style app as SharePoint 2013 auto hosted . i need to get promoted list to display in my app page as it is display in SharePoint host site. i have seen some blog post but no clue of detail way of doing it (http://www.greggalipeau.com/2013/12/25/adding-list-views-to-sharepoint-2013-apps)
Can any one let me know how to do this in a way steps to follow or any information on this highly appreciated.
Kind regards
Radikahttp://newscarrouselapp.codeplex.com/ Download sample
http://nettitude.wordpress.com/2013/01/27/creating-a-carousel-in-a-sharepoint-app-using-client-side-rendering/
http://webcache.googleusercontent.com/search?q=cache:t4nEmPtXxtQJ:sp2013.blogspot.com/2012/08/use-list-view-in-sharepoint-2013-apps.html+&cd=4&hl=en&ct=clnk&gl=in&client=firefox-a
<WebPartPages:WebPartZone runat="server"
FrameType="TitleBarOnly" ID="full" Title="loc:full" >
<WebPartPages:XsltListViewWebPart ID="XsltListViewWebPart2"
runat="server" ListUrl="Lists/SlideShow" IsIncluded="True"
NoDefaultStyle="TRUE" Title="Slideshow Images"
PageType="PAGE_NORMALVIEW" Default="False"
ViewContentTypeId="0x">
</WebPartPages:XsltListViewWebPart>
</WebPartPages:WebPartZone> -
Server Error: Unexpected Error when running Napa SharePoint 2013 App
I am getting an error "Server Error : Unexpected error" when I try to run a SharePoint 2013 app in Napa Development environment.
It starts the process normally but after it shows "Uninstalling previous version" it throws the error. This has been happening since yesterday.Someone helpI have a solution to the problem. I had a folder with a JSON file. On renaming the file to .txt, the app ran normally. I believe .json files are not supported in SharePoint hence the error.
-
SharePoint 2013 Apps shows 404 page not found on web front end servers.
Hi All,
We are implementing SharePoint Apps for our UAT environment with 1 application server and 2 WFEs. In our development server which is single server worked for implementing SharePoint Apps.
All our web applications WFEs are hosted UAT environment and SharePoint Server 2013 is enterprise with this build number 15.0.4420.1017 (RTM). In the Application Server we enabled App management service and Subscription management through
PowerShell.
This DNS configuration is as follows:
contoso.com with IP address for Application server (192.168.10.12) 2 different IP address for WFEs
192.168.10.14/15).
contoso-apps.com for wild card DNS required by SharePoint Apps and pointed to
Application server (192.168.10.12).
We have created self-sign certificate on one the WFE server, create a web application dedicated for SharePoint Apps
without host header and bind the self – sign certificate to the SharePoint Apps web application. DNS is correctly configured on the WFE and we are able to
ping abc.contoso-apps.com.
The App Catalog site is working and we are able to download SharePoint apps. But for the WFEs, when go to SharePoint store
it does shows the content for Store and when download an app and click on Add IT and signed as Office ID we get 404 page not found.
We referred the following sites that relate this 404 error:
http://blogs.technet.com/b/sharepoint_-_inside_the_lines/archive/2013/06/23/404-amp-401-errors-with-the-app-management-service.aspx
http://sharepointchick.com/archive/0001/01/01/setting-up-your-app-domain-for-sharepoint-2013.aspx
http://absolute-sharepoint.com/2013/02/troubleshooting-setting-up-an-environment-for-apps-for-sharepoint-2013.html
http://www.jeremythake.com/2013/12/troubleshooting-sharepoint-2013-hosted-apps-on-premises-404-not-found-error/
https://samlman.wordpress.com/2015/03/01/planning-the-infrastructure-required-for-the-new-app-model-in-sharepoint-2013/
But in my case we have already defined a blank host header for SharePoint Apps that we create previously.
Is it because we not using latest patch as Steve Peschka that March PU fixed this issue?
Any other solution we should look to fix this.
Any suggestions would be greatly appreciated.
SandyYour contoso-apps.com
wildcard address should point to one of the WFE servers, not the Application server. (Actually it should point to the load balancer for the WFEs, but you don't mention a load balancer.) Apps generate a dynamic HTML web site on the WFE server. If
you point to the application server it may not be able to deliver that content if the Microsoft SharePoint Foundation Web Service isn't turned on. (That's what makes a server a WFE)
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
Sharepoint 2013 app store issue i am unable to add apps on other web application
Hi,
Apps that require accessible internet facing endpoints-- this feature already activivated.
but no luck i am unable to add apps on web application.
kindly advise
SaidireddyHi,
According to your post, my understanding is that you could not add apps on other web application.
I recommend to create an empty-host header Web Application.
Here is a great blog for your reference: Configure an Environment for Apps for SharePoint 2013
In addition, you can create App Catalog and run PowerShell commond to fix the issue.
More information:
SharePoint
2013 - You receive "Sorry, apps are turned off. If you know who runs the server, tell them to enable apps" when trying to add Apps on Host Header site collection
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Sharepoint 2013 MP - Configuration Database connection failed
Hi all!
I run a WS2012 R2 with SCOM 2012R2. I'm trying to monitor Sharepoint 2013 Farm, with the Sharepoint 2013 MP. The Sharepoint farm and it's SQL server is on another domain, with two-way trust, and the agents are working on the Sharepoint and SQL servers.
I use SQL aliases for Sharepoint DB's, so I've made an override to the connection string to make it connect to the correct database.
The override is working fine, I can see that SCOM is trying to connect to the SQL server, but I cannot seem to make SCOM use the correct Run As account on these configuration databases. Most of the Sharepoint MP seems to be working fine, with the farm admin
account, but I don't know how I can force this override connectionString to use a specific user.
WS2012R2 with SCOM2012R2 UR3
Sharepoint 2013 Farm on WS2008R2 OS.
MS SQL 2012 on WS2008R2.
It uses the default SCOM monitoring account, instead of the Sharepoint RunAs account.
Any suggestions?
How do I make it use the correct Run As account?
(This guy has the
same problem)
Thanks,
NikolajI was looking at this issue not too long ago, and looked through the management pack xml, to see if there was a missing secure reference for DB connection monitors. I only glanced through the MP, but it looked to me as if the DB connection
monitors references the same account as the other sharepoint monitors. (Yes, that full-blown farm admin account). Again I am not sure, but it seems the management pack has trouble using the referenced RunAs account in the connection strings and then, because
the watcher node is setup default to run off the management server, it falls back to the management server action account.
You mention, that you have a two-way trust between you management group and SPS SQL servers. You could then bring this to work by granting your management server action account public rights on your configuration and content DB’s. Not
optimal, but it’s a workaround. For SPS 2013 this should work without changing the connection strings, as you would have to with SPS 2010.
I know this is not solution you’re are looking for, but it just might be enough for you to get a step further. I don’t know of any solution, so far, to get the DB connections to use the SPS RunAs account. -
Using SPServices and Knockout JS in SharePoint 2013 Apps
Hi All,
This is possibly the stupid question but please bear with me...
I would like to develop App for SharePoint 2013 (which will be published to Microsoft SharePoint Store) which can be free and paid . Can I use javascript / client libraries like SPServices from CodePlex , JQuery, Knockout JS and Angularjs in my Apps
Thanks in advance...Yes, you can use any client side technology as long it can call SharePoint API and parse result.
Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply. -
Typical business case scenarios for SharePoint 2013 Apps
What are the typical real time business case scenario for 1. SharePoint Hosted apps 2. Auto Hosted apps 3. provider hosted Apps? Why people choose any of this model apps model in comparison to typical On-Premise solution?
Another question comes is when should one go for On-Premise solution rather than Apps? What are real time scenarios?Let's discuss first whether to develop apps or full trust solution.
Talking about technical aspect, On-Premise solution is popular choice for organizations who have SharePoint hosted on premise (not SharePoint Online). However, if you are using SharePoint Online, there's no choice except Apps (and possibly sandbox but deprecated).
So for SharePoint Online only viable solution is developing apps. However for on-premise you can develop full trust or apps. However since apps requires a bit more configuration and not yet full feature set as you can do with full trust, most people are still
developing full trust solution on premise.
Talking about business requirement at hand, you can develop apps (even in on-premise), if your requirement is really looks like an app. For example, you would like to develop a SharePoint solution, that will show data from SAP inside SharePoint. The solution
mostly nothing to do with SharePoint but calling SAP services to perform stuffs. So you can develop an apps and deploy inside SharePoint. Another example is import CSV files in SharePoint list, you can write an apps. But mostly I think you need to decide whether
to develop apps depends on the Apps API ability. The API is still very limited in features/functionalities. So even if your requirement looks like apps you can't develop apps if the current SharePoint Apps API doesn't support the functionality.
Now let's talk about which apps model you would like to use SharePoint Hosted apps means everything hosted inside SharePoint and no other external infrastructure is required. One example is the CSV file upload apps. However, with SharePoint hosted apps,
you can't use C# rather you just have javascript to develop the apps. There's rumours that auto hosted apps will be deprecated not sure but there's not more conceptual difference apart from where the apps is hosted (both hosted outside SharePoint). Provider/auto-hosted
apps will be running outside SharePoint (i.e., in IIS web site), and communicate to SharePoint through REST or client object model. One provider hosted apps in the office app market is adlib pdf conversion. The apps allows you to select multiple files and
covert them to pdf file. Basically the conversion site is hosted somewhere outside (in the provider's infrastructure). When you select all the files and click 'convert' from ribbon user is redirected to the provider site (different url) and the files are merged
and converted to pdf. Since it's outside of sharepoint, you can use any development language (C#, java, php etc.). The provider hosted app talks to sharepoint through REST or client object model.
So in summary, sharepoint hosted app has less complexity as it doesn't require another infrastructure and runs inside sharepoint. However you are limited to use only javascript to develop your apps. On the other hand with provider hosted apps, you can use
any development language but you need to consider extra level of security/complexity to integrate the app with sharepoint.
Thanks,
Sohel Rana
http://ranaictiu-technicalblog.blogspot.com
Thanks for this nice reply. Plz clarify if only Auto hosted apps will be deprecated or provider hosted apps also may be deprecated by MS? -
Hello all, first of all thank you for reading this post. Please bare with me, I am new with this environnement. I have had several problems in past week trying to configure a local sharepoint server 2013, most of it went well but now I am stuck and I badly
need help! I intend to make sharepoint available through the Ethernet connection in my office.
Here is my config:
Sharepoint 2013 (local)
Microsoft SQL 2012
Microsoft Server 2012
I am able to access the sub-site I created in the Sharepoint Central Administration Web Application.
My first problem is, I created another Web Application with the following URL config http://intranet.[domain].com but I am not able to access it through my browser. It seems to point to bad IP I probably configured accidentally a CNAME on my hosting Cpanel
with the IP 192.168.1.199. So, When I ping the URL I do not get any connection. Just that it couldn't connect to 192.168.1.199. Now I added a CNAME on my CPANEL for the URL http://intranet.[domain].com --> 127.0.0.1. Is this the correct way to do it?
More information: The DNS manager has been configured following this tutorial:
Create SharePoint 2013 Web Application
http://www.youtube.com/watch?v=yW7LT99eUMs
I am not too sure of the proper configuration for the IIS Manager.
Anomymous Authentication is enabled
Windows Authentication is enabled
Everything else is disabled.
My second problem is that I cannot invite any user to the site. Even the one that have the email corresponding to our domain. Will I be able to invite parent domain users if the Web Apllication is properly configured with the CNAME on the Cpanel?
I tried to activate the External user invitation feature from Site Collection Features but it's not in the list. I am logged in as an administrator but next to the wrench it says "System Account" (with an arrow pointing down) so I guess this is
the "logged in user as..."? Am I missing something here?
Any advices would be greatly welcomed. I've run out of ideas.
Much appreciated,
HerbHello Ramu, thank you for your fast reply.
Quote Ramu: "You have to create A record called intranet.your-domain.com points to your SharePoint Server
IP and also loop back ip address in the host file entry on the SharePoint server(127.0.0.1 intranet.SharePoint.com)"
Is this a record on our corporate website Cpanel? What should I put in the "Address" field of
the Record (we do not have static IP)?
For the loop back, is this on the DNS Manager of our local Sharepoint 2013 server?
Quote Ramu: "3.
if you want to publish this externally, then your site needs to publish in your Network and it should points to your public static IP in your public domain control panel(Cpanel)."
In the first scenario where I only want intranet access, should everything be OK with the above mentionedconfiguration a DNS Record:
Which address should it be for the record?
Should I assign a fix IP to our server like 192.168.1.55?
What if another desktop computer gets an IP conflict with the server
fix IP, or what if we have to shut down the server everyday will the server IP change ?
General question: From what I understand, it is possible to put a DNS Record on the public Cpanel from our corporate website with a local IP that will only be resolved
if accessed through the local network? Ex.: Name: intranet.[our-corporate-public-domain].com, Address: 192.168.1.55 ?
Much appreciated RAMU.
Regards,
Herb
Maybe you are looking for
-
How do I change my iCloud Account email? I keep getting prompted to enter a password associated with an old email account I no longer use. I do not have the password for it. How do I change my iCloud Account?
-
when i upgraded my iphone to the new update My iphone 5 screen went completely black and has been like it for 2 days. I have tried holding home and lock,I have tried holding lock and the volume, and I have tried holding just the volume, it still just
-
Balance Sheet , P&L Report Drill Down Reports
Hello Experts, One of my client requires Balance Sheet, P&L Reports with drill down capability. Ex: In standard B1, When you run a balance sheet you will see summary of accounts. Client needs to look into the details from summary report by drill down
-
I perfom a format to my computer and install firefox again but sync doesnt work.
-
Hi All We have a SyncBO, which in Merep_pd has the Status - Error. That is a red light. When I check this SyncBO is the merep_sbuilder, the status is generated. And if I try to generate this SyncBO, it gives a message that - It has been generated - b