Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I want to create a site action menu item Custom Action which opens a Sharepoint 15 app (default.aspx) as modal dialog. is it possible? thanks.

share|improve this question
add comment

2 Answers

Is this what you're looking for? http://blogs.msdn.com/b/richard_dizeregas_blog/archive/2013/03/10/leveraging-sharepoint-dialogs-in-apps-for-sharepoint.aspx

share|improve this answer
    
It is something like that but I dont want to open (launch) the app from a ribbon or context menu. But I want to launch the app from Microsoft.SharePoint.StandardMenu –  Medes Apr 23 '13 at 7:25
1  
While this may theoretically answer the question, we prefer inclusion of the essential parts of the answer here, and to provide the link for reference. See answer for general guidelines. [mod] –  SPDoctor Apr 23 '13 at 8:42
add comment

You should be able to do it through the following way:

1) Create a SharePoint page: placeHolder.aspx

2) Create an AppPart/Client WebPart for your App and place it on placeHolder.aspx

3) Open placeHolder.aspx inside the Modal Dialog

4) Open the Modal Dialog from a custom action.

share|improve this answer
    
Do you mean a usual Custom Action or those that came with SharePoint Apps. If it is a usual how do I can point to the app part? and If it is a custom action app then how can I open a modal dialog. I have previously created Custom Actions which opened application pages as modal. but a usual Custom action can not be added to a SharePoint App project. –  Medes Feb 27 '13 at 7:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.