I have created Empty Element in an autohosted App and tried this code for element.xml then uploaded & deployed it to Office 365 but nothing happened, Is there another step I should take?
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction
Id="CustomRibbon"
Location="CommandUI.Ribbon"
RegistrationId="101"
RegistrationType="List"
Title="Copy Item to Doc Lib">
<CommandUIExtension>
<CommandUIDefinitions>
<CommandUIDefinition
Location="Ribbon.Documents.Manage.Controls._children">
<Button
Id="Ribbon.Items.Manage.CustomRibbon"
Command="CopyItem"
Image32by32="http://s17.postimage.org/trf3y2ui3/U32.png"
LabelText="Copy Item"
TemplateAlias="o1" />
</CommandUIDefinition>
</CommandUIDefinitions>
<CommandUIHandlers>
<CommandUIHandler Command="CopyItem" CommandAction="javascript:alert('Hello world!');" />
</CommandUIHandlers>
</CommandUIExtension>
</CustomAction>
</Elements>