tag:blogger.com,1999:blog-4126985520350746834.post1226637090677439085..comments2024-02-23T07:51:44.771+00:00Comments on Chris O'Brien: Working with web parts within a SharePoint appChris O'Brienhttp://www.blogger.com/profile/10022906552670607366noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-4126985520350746834.post-83383063753716101362015-05-12T15:01:02.291+01:002015-05-12T15:01:02.291+01:00@Fabian,
Well, consider that if the user has &quo...@Fabian,<br /><br />Well, consider that if the user has "contribute" permissions to the underlying list, they will basically be able to add/edit items. And since the list in an app is provisioned *as part of the app*, this will be the case.<br /><br />HTH,<br /><br />Chris.Chris O'Brienhttps://www.blogger.com/profile/10022906552670607366noreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-57719394736580437592015-04-30T12:00:24.000+01:002015-04-30T12:00:24.000+01:00Hi Chris
Thanks for the post. It really gave a st...Hi Chris<br /><br />Thanks for the post. It really gave a starting point for our SharePoint App development.<br /><br />One question though: Is it possible to manage permissions for the XsltListViewWebPart (the appweb version)? My goal is to display a list but I do not want users to edit or add items..<br /><br />Thanks for a quick answer!<br /><br />FabianAnonymoushttps://www.blogger.com/profile/13182269840860822644noreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-26682461512031150412013-11-15T16:43:51.978+00:002013-11-15T16:43:51.978+00:00@Swati,
I have two samples for the XsltListViewWe...@Swati,<br /><br />I have two samples for the XsltListViewWebPart, one for the host web and one for the app web. Above, I note:<br /><br />"I wondered if it was possible to use this web part to show items from a list in the host web. Putting aside potential issues of including a token such as ~site in the URL (by testing with a hardcoded absolute URL), I found that it is not."<br /><br />So I don't believe this is possible. You'll need to write some code (e.g. JSOM/REST) to pull the items from the host web, and display them yourself. My post <a href="http://www.sharepointnutsandbolts.com/2012/11/access-end-user-data-in-host-web-from.html" rel="nofollow">Access end-user data (in the host web) from a SharePoint 2013 app</a> might help.<br /><br />Cheers,<br /><br />Chris.Chris O'Brienhttps://www.blogger.com/profile/10022906552670607366noreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-27915969453911167712013-11-06T16:59:37.152+00:002013-11-06T16:59:37.152+00:00Hi Chris,
I like this post very much.
I have a qu...Hi Chris,<br /><br />I like this post very much.<br />I have a query.The XSLTList view example references list is AppWeb<br /><br />How this can be done with OOB list in HostWeb for XSLT List view WebPart<br /><br />SwatiSwati Jainhttps://www.blogger.com/profile/05940864346420740296noreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-76977819857537007012013-10-04T08:51:21.202+01:002013-10-04T08:51:21.202+01:00Hello Chris
Great Article. I found that after add...Hello Chris <br />Great Article. I found that after adding the XsltListViewWebPart the "edit this list" link did not work and returned a JavaScript error. This can be fixed by adding a script reference to SP.UI.Dialog.js to the page. Hope this helps someone.<br /><br />BenBen Hayneshttps://www.blogger.com/profile/12045276033044254977noreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-15962186275515091502013-08-29T09:55:32.499+01:002013-08-29T09:55:32.499+01:00Excellent and extremely valuable exploratory work!...Excellent and extremely valuable exploratory work! Thanks for sharing Chris.Ralfhttp://www.ralfvb.comnoreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-52493473392316595172013-08-28T09:35:12.451+01:002013-08-28T09:35:12.451+01:00@Anonymous,
I think it depends on your expectatio...@Anonymous,<br /><br />I think it depends on your expectations. If you ever developed for other enterprise products such SAP, Salesforce, or other ECM platforms such as FileNet, you'll know that SharePoint is certainly no worse. In fact, it's probably much better. <br /><br />Of course, if you're comparing to developing on a thinner/lower-level platform (where frankly, there are less moving parts) such as .NET or Java, then sometimes SharePoint does feel as though there's more friction. But that's because there usually is! Personally I'm not sure it's realistic to expect anything else.<br /><br />It's a complex platform and developers and users will always occasionally want to explore some slightly unorthodox approaches (just like this post). But it's also helpful to recognise those as such - in the case of this article I'd say:<br /><br />- no-one says you MUST use the "apps" framework in SharePoint<br />- Microsoft don't provide guidance to say that web parts can be used there - I see this stuff purely as a bonus which saves me some code<br /><br />Would you disagree?<br /><br />Chris.Chris O'Brienhttps://www.blogger.com/profile/10022906552670607366noreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-65479479933783659962013-08-23T12:44:29.295+01:002013-08-23T12:44:29.295+01:00The word manual is used so many times in this arti...The word manual is used so many times in this article that I can only conclude that once again, Microsoft has released a version of SharePoint (2013 in this case) without a first-class development toolset.<br /><br />We saw this story for the first time back when SharePoint 2007 was released with near-zero development tools in Visual Studio 2005, the IDE for customizing SP 2007 at that time.<br /><br />It wasn’t until Visual Studio 2012 that a full set of tools (e.g., content type wizard) was available for SharePoint 2010.<br /><br />Now we read article after article about how you can “almost” do this or that with SharePoint 2013 and Visual Studio 2012 or 2013 Preview, but “you need a shim here and another bolt-on thingy over there” to make it really work in a production environment.<br /><br />When are we going to get a proper set of tools from Microsoft for customizing SharePoint? I fear the answer is somewhere between “maybe” and “never”.<br />Anonymousnoreply@blogger.com