Skip to main content
deleted 12 characters in body
Source Link
Paul Strupeikis
  • 3.8k
  • 4
  • 21
  • 33

I've created a Sharepoint context menu I created a one custom action but iand I want to display the custom actionit when the feature is activated.

how can i do this ?

Code:

<CustomAction RegistrationType="rt1" RegistrationId="0x010100EB674074C71B4AA7BA42EF61F36ADA2E"
Id="CDocuemnt"
Rights="EditListItems"
Description="CDocument"
ImageUrl="Version.gif"
Title="CDocument"
Location="EditControlBlock"
RequireSiteAdministrator="FALSE"
Sequence="428">
    <UrlAction Url="javascript:__doPostBack('project.Document.CDocument','{ItemId}#{ListId}');"></UrlAction>
  </CustomAction>

Sharepoint context menu I created a one custom action but i want to display the custom action when the feature is activated.

how can i do this ?

Code:

<CustomAction RegistrationType="rt1" RegistrationId="0x010100EB674074C71B4AA7BA42EF61F36ADA2E"
Id="CDocuemnt"
Rights="EditListItems"
Description="CDocument"
ImageUrl="Version.gif"
Title="CDocument"
Location="EditControlBlock"
RequireSiteAdministrator="FALSE"
Sequence="428">
    <UrlAction Url="javascript:__doPostBack('project.Document.CDocument','{ItemId}#{ListId}');"></UrlAction>
  </CustomAction>

I've created a Sharepoint context menu custom action and I want to display the it when the feature is activated.

how can i do this ?

Code:

<CustomAction RegistrationType="rt1" RegistrationId="0x010100EB674074C71B4AA7BA42EF61F36ADA2E"
Id="CDocuemnt"
Rights="EditListItems"
Description="CDocument"
ImageUrl="Version.gif"
Title="CDocument"
Location="EditControlBlock"
RequireSiteAdministrator="FALSE"
Sequence="428">
    <UrlAction Url="javascript:__doPostBack('project.Document.CDocument','{ItemId}#{ListId}');"></UrlAction>
  </CustomAction>
added 34 characters in body
Source Link
Gautam Sheth
  • 31k
  • 1
  • 36
  • 62

Sharepoint context menu I created a one custom action but i want to display the custom action when the feature is activated.

how can i do this ?

Code:

<CustomAction RegistrationType="rt1" RegistrationId="0x010100EB674074C71B4AA7BA42EF61F36ADA2E"
Id="CDocuemnt"
Rights="EditListItems"
Description="CDocument"
ImageUrl="Version.gif"
Title="CDocument"
Location="EditControlBlock"
RequireSiteAdministrator="FALSE"
Sequence="428">
  RegistrationId="0x010100EB674074C71B4AA7BA42EF61F36ADA2E"  <UrlAction Url="javascript:__doPostBack('project.Document.CDocument','{ItemId}#{ListId}');"></UrlAction>
  </CustomAction>

Id="CDocuemnt" Rights="EditListItems"

Description="CDocument" ImageUrl="Version.gif" Title="CDocument" Location="EditControlBlock"

RequireSiteAdministrator="FALSE" Sequence="428">

Sharepoint context menu I created a one custom action but i want to display the custom action when the feature is activated.

how can i do this ?

Code:

<CustomAction RegistrationType="rt1"   RegistrationId="0x010100EB674074C71B4AA7BA42EF61F36ADA2E"

Id="CDocuemnt" Rights="EditListItems"

Description="CDocument" ImageUrl="Version.gif" Title="CDocument" Location="EditControlBlock"

RequireSiteAdministrator="FALSE" Sequence="428">

Sharepoint context menu I created a one custom action but i want to display the custom action when the feature is activated.

how can i do this ?

Code:

<CustomAction RegistrationType="rt1" RegistrationId="0x010100EB674074C71B4AA7BA42EF61F36ADA2E"
Id="CDocuemnt"
Rights="EditListItems"
Description="CDocument"
ImageUrl="Version.gif"
Title="CDocument"
Location="EditControlBlock"
RequireSiteAdministrator="FALSE"
Sequence="428">
    <UrlAction Url="javascript:__doPostBack('project.Document.CDocument','{ItemId}#{ListId}');"></UrlAction>
  </CustomAction>
Source Link
Elina
  • 369
  • 1
  • 7
  • 17

Its possible to hide custom actions based on that feature activation?

Sharepoint context menu I created a one custom action but i want to display the custom action when the feature is activated.

how can i do this ?

Code:

<CustomAction RegistrationType="rt1"   RegistrationId="0x010100EB674074C71B4AA7BA42EF61F36ADA2E"

Id="CDocuemnt" Rights="EditListItems"

Description="CDocument" ImageUrl="Version.gif" Title="CDocument" Location="EditControlBlock"

RequireSiteAdministrator="FALSE" Sequence="428">