For SharePoint 2013 App, how to request permission to host web for only 2 lists?
I find app permission requests are not granular enough. I see that there can be permission properties (key/value).
Is there any way to request permission to more than one list. It's not comforting for a site admin to grant an app permission to ALL lists or all items in a site collection, when only one resource is required.
Example of what the markup looks like in an app manifest:
<AppPermissionRequests>
<AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web/list" Right="Write"/>
</AppPermissionRequests>
Thanks, Roy Kim
UPDATE:
I did some tests about that.
I found that:
- multiple Property elements in the same AppPermissionRequest
are not evaluated, it is only the first one
- with multiple AppPermissionRequest elements that use the same Scope (although they have different Rights) only the first one is
evaluated.
Regarding the property:
- ListId works with this syntax
Property
Name="ListId"
Value="{5532E789-ED99-403B-A0A9-F2E295536B7F}"
/>
- List does not work as expected.
Marco Rizzi @Avanade Italy http://blog.marcorizzi.com
Similar Messages
-
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. -
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? -
Office web apps Server for Sharepoint 2013
Hello,
I used the following article to install office web apps server and hook it up to a test sharepoint server:
http://technet.microsoft.com/en-us/library/jj219455(v=office.15).aspx. The OWAS service was verified as working by loading:
https://owas.companyname.com/hosting/discovery
For the sharepoint configuration phase, the following commands were run on the sharepoint machine:
1) New-SPWOPIBinding -ServerName "owas.companyname.com" -- (owas.companyname.com) is the host name of the owas server)
2) Get-SPWOPIZone
3) Set-SPWOPIZone -zone "external-https"
However, office documents are still launching in the desktop office applications, not in the browser. Any ideas of what else I may need to do?
thanks,
SherazadHi ,
According to your description, my understanding is that you fail to configure Office Web Apps for your SharePoint 2013.
How about run Get-SPWOPIZone? If you can get a result, it says that your SharePoint have connected with Office Web Apps.
Then you can run below command to change the zone to internal-https.
Set-SPWOPIZone -zone "internal-https"
Reference:
http://technet.microsoft.com/en-us/library/ff431687(v=office.15).aspx
http://stevegoodyear.wordpress.com/sharepoint-2013-build-guide/office-web-apps-2013-server-install-and-configuration/
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 -
Hi,
Is it possible to run Office Web Application Server (shows preview images for docs and allows Notepad, Word, Excel to work etc) on one of the SharePoint 2013 App Servers. I don't want to have to create a new server. It talks about setting
up a farm.
Better still how the feck do you switch this functionlity off - I always remember it being a pain in the arse. We accidentally ran the first part of the configuration on one of the SharePoint App Servers only to find out our subscription does not
have this download (bar stewards changed this Nov 2014 - just after started contract).
Help would be much appreciated as close to go live
Thanks.
John.Hi John,
Please reboot the server at the very beginning and test the issue again.
Quote from you:
Problem is I get Internet Web Page cannot display the webpage everytime I click in a excel document, powerpoint document, notebook link or the preview
Please post the url in browser address here.
If you just executed the command below:
Add-WindowsFeature Web-Server,Web-Mgmt-Tools,Web-Mgmt-Console,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Static-Content,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Security,Web-Filtering,Web-Windows-Auth,Web-App-Dev,Web-Net-Ext45,Web-Asp-Net45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,InkandHandwritingServices
It just install some windows feature to the current server, we can find it should be done before installing several server products.
Could you please verify if the command you executed is the same as the one above?
You could also go to local disk and check if there is OfficeWebApps folder under C:\ProgramData\Microsoft\?
If you check in Control Panel > Programs, is there any feature related to Office Web Apps?
If you have confirmed there is no Office Web Apps feature installed, please go to SharePoint document library settings, and make the document to open in client, does it work?
Regards,
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] .
Rebecca Tu
TechNet Community Support -
Office Web Apps Load Balancing Configuration Issue for SharePoint 2013
I have load balanced servers dedicated for Office Web Apps with name “md1xxxwfe1” and “md1xxxwfe2”
, both this servers are load balanced by CISCO Load balancer. And I have mapped Load Balancer Virutal IP with host name officeapps.jda.corp.local in the DNS records.
Things are working fine if I add new farm by using New-OfficeWebAppsFarm
with server name as internalurl in PowerShell console
as like “ -internalurl http://
md1xxxwfe1 but when I use –internalurl officeapps.jda.corp.local it is not working at all. I’m not getting what to do at this point.
I have gone through following blogs but no luck.
http://blogs.technet.com/b/meamcs/archive/2013/03/27/office-web-apps-2013-multi-servers-nlb-installation-and-deployment-for-sharepoint-2013-step-by-step-guide.aspx
http://blogs.technet.com/b/office_resource_kit/archive/2012/09/11/introducing-office-web-apps-server.aspx
http://davidlimsharepoint.blogspot.in/2013/02/installing-and-configuring-office-web.html
http://sps2013.blogspot.in/2013/09/office-web-apps-with-sharepoint-2013.html
The output of the wfe1 server is attached with this. When I open http:// /hosting/discovery in wfe1 I’m getting following result (attached
screenshot) but it should show hostname rather than server name.
Please help me
Thanks, Ram ChHi Ram ,
For troubleshooting your issue, please take steps as below:
Just about any load balancing solution will work, including a server that runs the Web Server (IIS) role running Application Request Routing (ARR):Install
Application Request Routing
Install the certificate on the load balancer as described under Securing Office Web Apps Server communications by using
HTTPS.
Make sure you have configured the cluster correctly for full internet name:
Reference:
http://technet.microsoft.com/en-us/library/jj219435.aspx#loadbalancer
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 -
Create Task with C# - App for SharePoint 2013
Hi everyone,
I need to create an app that can manage holiday for my company and we want to sync the demand Holiday with their tasks in Project Server 2013.
Unfortunatly, I cannot find how to add a task with an "App for SharePoint 2013" and in C#.
I've tried to add the task by entering an entry in the Project Server database but unfortunatly, it does not work.
Are there an other way to create task programmatically in Project Server 2013 ?
Thanks by advance,
PatmolHi,
According to your post, my understanding is that you want to use resource files in your SharePoint app project.
Here is an article for your reference:
http://msdn.microsoft.com/en-us/library/office/fp179919.aspx
Code sample: SharePoint 2013: Localize the app web, host web, and remote components of an app
http://code.msdn.microsoft.com/office/SharePoint-2013-Bookstore-328060fc/sourcecode?fileId=60464&pathId=1536365664
Best Regards
Dennis Guo
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> -
Configure an Environment for Apps for SharePoint 2013
hH,
We are building QA environment for Sharepoint 2013. For this my management asked me to configure the APPS store. But when i referred the MSDN article, they are suggesting
" You must purchase a domain name from a domain name provider for your apps, for example, ContosoApps.com."
Which is not possible in my case as purchasing a new domain requires lot of approvals also this is an QA environment.
So please suggest on the below points
1) whats wrong to build a sub domain like APPS.XXXX.COM instead of XXXXAPPS.COM
2) since it is in a QA environment, is it necessary to have a SSL ??
3) is it need to have a different APPS stores for QA & PROD environments.
Thanks,
Praveen
Sharepoint HELPHi Praveen,
you don't need to buy a domain use your internal DNS
no need for SSL since it is QA
i think you mean app catalog, each environment will be having it app catalog
some other links
http://blogs.technet.com/b/mspfe/archive/2013/01/31/configuring-sharepoint-on-premise-deployments-for-apps.aspx
http://www.nothingbutsharepoint.com/2013/02/13/configure-an-environment-for-apps-for-sharepoint-2013-aspx/
Kind Regards,
John Naguib
Senior Consultant
John Naguib Blog John Naguib Twitter
Please remember to mark this as answered if it helped you -
How many server licenses do I need for SharePoint 2013?
I am new to the concept of CAL. I am reading about it. I found this linkhttp://sharepoint.stackexchange.com/questions/101914/how-many-server-licenses-do-i-need-for-sharepoint-2013
Suppose there are 2 users in the sharepoint farm. As per above link we requires 7/8 server license. So my question is do we requires 7/8 licences per user basis (2*7/8) or we requires 7/8 licences once only then we require 2 more licenses for 2 users (7/8 +2)?The second option.
If you have 7 SharePoint servers then you need 7 SharePoint Server Licenses.
If you have two people in your company who can use SharePoint then you need two Client Access Licenses (7 server, 2 CAL).
If you had two hundred thousand users who could then you would need two hundred thousand CALs, but the number of server licenses would not change. (7 server, 200,000 CALs). -
Sharepoint 2013 - Can I use Visual Studio 2012 express edition for web-parts and app parts?
I am new to sharepoint 2013. I want to develop the app and web parts using visual studio 2012 express edition. Can I use vs 2012 express edtion to create app and web parts for sharepoint 2013?
Unfortunately no, check this post:
http://sharepoint.stackexchange.com/questions/52338/sharepoint2013-development-with-vs2012-express
To build SharePoint 2013 webparts/apps you will need the 'Microsoft Office Developer Tools for Visual Studio 2012', which do not come as part of Visual Studio. The tools require Visual Studio 2012 Ultimate, Premium, or Professional.
The tools and prerequisites can be found here:
http://msdn.microsoft.com/en-us/office/apps/fp123627.aspx
Brandon Atkinson
Blog: http://brandonatkinson.blogspot.com -
Configure Apps for SharePoint 2013 in dev environment without DNS
I have a SP 2013 dev env
http://spitlab/ .I want to configure app store in this environment
will I be able to do it without access to a DNS server
I followed the below two articles
http://www.ashokraja.me/post/Develop-SharePoint-2013-Napa-App-In-Local-Dev-Environment-Configuring-On-Premises-without-DNS.aspx
I am able to install third party apps but when I click on it . it gets redirected to sfs.in
next i try this
http://sharepointconnoisseur.blogspot.com/2013/07/shortcut-to-prepare-sharepoint-2013-app.html
same thing I am able to install 3rd party apps but when i click on it .. it goes to intranet.com
so is it possible to install third party apps on a dev box without DNS and check out third party apps and if what steps am i missing ?Hi,
If you click the 3rd party apps and it is redirected to sfs.in or intranet.com, this means you configured app domain correctly.
You can read the official document per the following first link to understand what app domain is (with DNS configured), app domain format is as bellow image (borrowed from this
article), and app domain is defined as you want(e.g. ContosoApps.com).
Without DNS, as your above two articles described, the app domain (e.g. apps.com, or apps.sfs.in) is written manually in hosts file directly, you can construct an app domain as your own, then after you install a custom developed app, it should be the following
app url format.
http://technet.microsoft.com/en-us/library/fp161236(v=office.15).aspx
http://www.ashokraja.me/post/Develop-SharePoint-2013-Napa-App-In-Local-Dev-Environment-Configuring-On-Premises-without-DNS.aspx
http://sharepointconnoisseur.blogspot.jp/2013/07/shortcut-to-prepare-sharepoint-2013-app.html
Thanks
Daniel Yang
TechNet Community Support -
How to set up PDF IFilter for SharePoint 2013?
I want to set up PDF IFilter for SharePoint 2013. I know that this is possible for SharePoint 2010.
http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=5542&fileID=5550
http://www.adobe.com/devnet-docs/acrobatetk/tools/AdminGuide/Acrobat_Reader_IFilter_config uration.pdfJust wondering.. if you ever got this figured out? If not.. I can assist
-
How-To: Install September 2014 CU for SharePoint 2013 ?
Hello,
I have a SharePoint Server 2013 environment which its topology consists of:
1 Web Frond End Server
1 Application Server
1 Database Server
I want to install September 2014 CU which is announced on: (http://blogs.msdn.com/b/joerg_sinemus/archive/2014/09/10/sharepoint-2013-september-2014-cu.aspx) and (http://blogs.technet.com/b/stefan_gossner/archive/2014/09/10/september-2014-cu-for-sharepoint-2013-has-been-released.aspx).
My question is: Should I install all the three files: (UberSrvcab1, UberSrvcab2, and ubersrv2013kb2883068fullfilex64glb) on
BOTH: Web Frond End and
Application servers?
Or, Should these three files get installed ONLY on the
Application Server?
Any help, Please ?Hi,
You need to install it on all servers...
http://blogs.technet.com/b/stefan_gossner/archive/2014/09/10/september-2014-cu-for-sharepoint-2013-has-been-released.aspx
Regards
PT
Maybe you are looking for
-
after I turned on my iMac running 10.4.1, all I get is the "gong" audio and a totally blank screen. I tried booting up again holding my finger down on the on button until I heard a beep. This didn't work either. Just a blank screen. Does this indicat
-
For selecting all the text in a dynamic text field. I had problems with the code below losing focus after the selection. I was chasing my tail like a mad dog trying to figure it out. I embedded the text field in a movie clip, published it as HTML, tr
-
Netflix not working with Mavericks, just get a black screen.
I just recently installed Mavericks, netflix worked fine before the system upgrade. Any help would be appreciated. I have uninstalled and reinstalled silverlight. The plug-in is in my harddrive/library/internet plug-in folder. Safari sees it in th
-
Programs (like App Store) missing from computer
Model Name: iMac Model Identifier: iMac4,2 Processor Name: Intel Core Duo Processor Speed: 1.83 GHz Number Of Processors: 1 Total Number Of Cores: 2 L2 Cache: 2 MB Memory:
-
Invalid Checksum when trying to use Seagate Backup Drive for Time Machine
Hi, I'm trying to use a Seagate Backup Plus Drive with my Mac. It was originally used with a Windows machine. It does have the Seagate Dashboard Installer.dmg file. When I try to install it, it gives me an "invalid checksum" error. I've also opene