locked
How to embed an app into a page, or style an app page? RRS feed

  • Question

  • I'm using the calendar app but it links out to a full-page layout on its own rather than using the master templates I have created for the other pages, so it looks out of place. Is there a way to force apps to use the master template, modify their style or even just embed the app inside a regular aspx page?

    It does not appear in the app list when I choose 'insert' on the edit page, and it doesn't appear in the iframe when I link to it via the page viewer web part.

    Thursday, June 2, 2016 1:12 PM

Answers

  • Its a 3rd party built SharePoint hosted addin, you will not have options to customize it.

    Best option is try to replicate the functionality on your own in your site.


    ---
    Rajesh
    rjesh.com| @rjesh
    You don't need to buy me a beer, if helpful just smile, vote, and mark it as answer.

    • Proposed as answer by Dennis Guo Monday, June 13, 2016 4:53 AM
    • Marked as answer by Dennis Guo Thursday, June 16, 2016 8:58 AM
    Thursday, June 2, 2016 4:12 PM
  • Hi,

    There is no direct way to display an app which without app part in an iframe simply from the UI.

    By default, SharePoint 2013 prevents cross-domain IFRAMING of pages as a security measure to prevent clickjacking. If a page needs to be rendered in an iframe, modification on the corresponding page is required:

    https://blogs.msdn.microsoft.com/officeapps/2012/12/12/iframing-sharepoint-hosted-pages-in-apps/

    In your scenario, as it is a third party app, you may need to contact the author to re-do the development to make it be able to display in an iframe.

    Best regards,

    Patrick

    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    • Proposed as answer by Dennis Guo Monday, June 13, 2016 4:53 AM
    • Marked as answer by Dennis Guo Thursday, June 16, 2016 8:58 AM
    Friday, June 3, 2016 8:07 AM

All replies

  • Create your app as an app part, follow the below article for more details

    Create add-in parts to install with your SharePoint Add-in


    ---
    Rajesh
    rjesh.com| @rjesh
    You don't need to buy me a beer, if helpful just smile, vote, and mark it as answer.

    Thursday, June 2, 2016 1:23 PM
  • Thank you, these instructions are for visual studio - is there a way to do this via the web interface or Sharepoint Designer?
    Thursday, June 2, 2016 2:00 PM
  • just to clarify: by calendar app you mean Calendar list or some other app? And another question: do you use publishing site or some other site template for the parent site? In publishing sites there are 2 types of master pages: site master page and system master page (both are set in Site settings > Master Page). So if you are talking about regular calendar list, then it uses basic Sharepoint rules for applying master pages: list views use System master page. So if you customized UI using only site master page you probably need to apply changes also to system master page.


    Blog - http://sadomovalex.blogspot.com
    Dynamic CAML queries via C# - http://camlex.codeplex.com

    Thursday, June 2, 2016 2:38 PM
  • Sorry I should have been more clear, I'm using the "Employee Leave Management" calendar app from Procomix
    Thursday, June 2, 2016 2:55 PM
  • Its a 3rd party built SharePoint hosted addin, you will not have options to customize it.

    Best option is try to replicate the functionality on your own in your site.


    ---
    Rajesh
    rjesh.com| @rjesh
    You don't need to buy me a beer, if helpful just smile, vote, and mark it as answer.

    • Proposed as answer by Dennis Guo Monday, June 13, 2016 4:53 AM
    • Marked as answer by Dennis Guo Thursday, June 16, 2016 8:58 AM
    Thursday, June 2, 2016 4:12 PM
  • Not even an option to simply display it in an iframe?
    Thursday, June 2, 2016 5:49 PM
  • Hi,

    There is no direct way to display an app which without app part in an iframe simply from the UI.

    By default, SharePoint 2013 prevents cross-domain IFRAMING of pages as a security measure to prevent clickjacking. If a page needs to be rendered in an iframe, modification on the corresponding page is required:

    https://blogs.msdn.microsoft.com/officeapps/2012/12/12/iframing-sharepoint-hosted-pages-in-apps/

    In your scenario, as it is a third party app, you may need to contact the author to re-do the development to make it be able to display in an iframe.

    Best regards,

    Patrick

    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    • Proposed as answer by Dennis Guo Monday, June 13, 2016 4:53 AM
    • Marked as answer by Dennis Guo Thursday, June 16, 2016 8:58 AM
    Friday, June 3, 2016 8:07 AM