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, Vikram

Hi 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

Similar Messages

  • 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
    Radika 

    http://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>

  • 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

  • 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).

  • 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

  • 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 help

    I 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.

  • 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 us

    You 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.

  • Forms based authentication in sharepoint 2013 using custom membership provider

    I am developing  FBA  for SP2013 using custom membership provider using the following link 
    http://benredl.wordpress.com/2012/10/03/creating-forms-based-authentication-and-user-profiles-in-sharepoint-2013-using-custom-membership-and-role-providers-and-a-custom-user-profile-synchronization-utility/
    the feature i am trying to develop is that the user is created using a homegrown asp.net  application which uses sql server 
    and then When that user goes to SP2013 he should be able to login with the username and password created using the homegrown asp.net application 
    my questions are following 
    If I follow the article in the link should i be taking the assembly(dll) and deploying it to GAC or will VS2013 automatically do it
    Do I have to implement  FindUserByEmail and FindUserByName methods ?
    if the connectionstring for an asp.net application is in the web.config file  where would the connection for the sqlserver go if this application is for SharePoint 
    TIA

    Hi TIA,
    try this it contains the code for you and it is ready
    http://sharepoint2013fba.codeplex.com/
    Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation

  • SharePoint 2013 RTE Custom Styles lost on Team Site Wiki Page after you select a control in the editor

    I have a weird issue in that I have custom RTE styles working fine in publishing pages, but in the team site wiki page, when you first go into edit mode you see your styles, but if you highlight some text, select say the font drop down to expand it and then
    select it again to contract it (i.e. without selecting a font), all of a sudden all of the custom styles are lost and everything reverts back to the default RTE styles.
    In my master page I am running the following script to force my styles to be loaded.
    ExecuteOrDelayUntilScriptLoaded(
    function() {
         $(
    "div[RteRedirect]").each(function()
    varid = $(this).attr("RteRedirect"),
             editSettings = $(
    "#"+ id);
    if(editSettings.length > 0 &&
    editSettings[0].PrefixStyleSheet != 'custom-rte')
                 editSettings[0][
    'PrefixStyleSheet'] =
    'custom-rte';
                 editSettings[0][
    'StyleSheet'] =
    '\u002f_layouts\u002f15\u002fFiveP\u002frteStyles.css';
                 RTE.Canvas.fixRegion(id,
    false);
    "sp.ribbon.js");
    See below screenshots (note Heading 2 is orange).
    After you collapse the font menu, you see that the orange H2 has disappeared, and selecting the font drop down again now shows all of the default SharePoint RTE styles.
    I haven't been able to capture the Event that is being called using the debugger. Any ideas how to fix this?
    Alan Coulter.

    Hi,
    For this issue, I'm trying to involve someone familiar with this topic to further look at it.
    Thanks,
    Qiao
    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]
    Qiao Wei
    TechNet Community Support

  • 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. 
    Sandy

    Your 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.

  • 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/ 

  • 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.

  • SharePoint 2013 Online : Custom List view xslt webpart UI vs List View WebPart UI with search ? How to create a xslt list view webpart same UI as list View webpart ???

    I have created a xslt list view webpart but I does not have UI as SharePoint 2013 list view UI.
    how I can have it.
    Ahsan Ranjha

    Hi Ahsan,
    According to your description, my understanding is that the UI is different between XSLT web part and List View web part.
    Per my knowledge, the List View web part is a kind of the XSLT list view web part which uses XSLT to display data on the page.
    http://sharepoint-videos.com/list-view-and-data-view-web-parts/
    How did you add the XSLT web part and the List View web part?
    Could you please provide a screenshot of the two web parts?
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • 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
    Saidireddy

    Hi,
    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

Maybe you are looking for

  • IDOC not receiving in XI

    Hi - Using PI 7.0 and checked all the configurations and read all the related blogs but i don't see the IDOC coming into XI. Checked the SM58 on R3 and does not show any errors. I checked the WE02 on XI system and shows a status of 60 and 56. Status

  • Pass data from Main report to Subreport

    I have client name in Main Report. I need to display the same name into Subreport. How can I pass the value from MainReport to SubReport.

  • How do I access and delete photos from Photo Stream

    I am using Yosemite 10.10.3.  Apple TV (3rd gen) screen saver shows older photos that I have deleted from the photos program but are apparently still in Photo Stream.  How do I access and delete these from Photo Stream? Thanks

  • How can i get my iphone to come back on after using menu and off with buttons to switch off?

    Hello! I used the menu and on/off botton to swicth off my iPhone and now cannot get it back on. Can someone help me get it back on? It was freezing all the time.

  • Problem creation PPM_WD_RFC_METADATA_DEST

    Hello I have a problem  when I am creating the JCo's PPM_WD_RFC_METADATA_DEST, I  press the  Creation link then the page starts load but  it never show the next screen. I don not kwon  Why is the problem?? My system  have  stack 09, and  the cprxrpmu