sharepoint - Help adding a button to the "Actions" menu on a list -


I have created a customization feature to add a button to the "Action" menu in a list. The button appears when I do not specify ControlAssembly / ControlClass attributes. When I specify those attributes, the button is not visible I tried to add a mailing safe control component to the site web.config. I am using VSeWSS.

UPDATE - Links to the second question removed - Not sure how I did this. Anyone can tell me my question why my CustomAction button is not showing when I have specified ControlAssembly and ControlClass attributes

Update 2 -? RegenConfigTemp is actually inheriting from Webcontrol, sorry! My machine is different from my Dev machine with web access and there is no way to transfer files between the lack of burning a CD.

Here are my files:

 manifest.xml & lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Solution Resolution Id = "GUIDHERE" xmlns = "http://schemas.microsoft.com/sharepoint/" & gt; & Lt; FeatureManifests & gt; & Lt; Feature manifest location = "RegenConfigTemp \ feature.xml" /> & Lt; / FeatureManifests & gt; & Lt; Meetings & gt; & Lt; Assembly Location = "WebFeature.dll" Deployment Target = "Global Alaska Cache" /> & Lt; / Assemblies & gt; & Lt; / Solution & gt; 
 feature.xml & lt; Feature ID = "GUIDHERE" title = "RegenConfigTemp" scope = "web" version = "1.0.0.0" hidden = "false" DefaultResourceFile = "original" xmlns = "http: //schemas.microsoft.com/sharepoint/" & Gt; & Lt; ElementManifests & gt; & Lt; ElementManifest location = "RegenConfigTemp \ Module.xml" /> & Lt; / ElementManifests & gt; & Lt; / Feature & gt; 
 Module.xml & lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Element id = "GUIDHERE" xmlns = "http://schemas.microsoft.com/sharepoint/" & gt; & Lt; CustomAction id = "GUIDHERE" RegistrationType = "list" RegistrationId = "1981" group = "ActionsMenu" location = "Microsoft.SharePoint.StandardMenu" sequence = "1000" title = "Regenerate list content" ControlAssembly = "WebFeature, version = 1.0.0.0, culture = neutral, public keynote = myPKTokenHere "ControlClass =" WebFeature.RegenConfigTemp "& gt; & Lt; / CustomAction & gt; & Lt; / Elements & gt; 

RegenConfigTemp.cs using the system; Using System.Runtime.InteropServices; Using System.Web.UI.WebControls; Use of Microsoft SharePoint WebControl; Name space WebFeature {Public square RegenConfigTemp [Guid ("GUID matches 1 GUID in Module.xml here")]: Webcontrol {Protected Override Zero OnLoad (EventArgs e) {this.EnsureChildControls (); Base.OnLoad (E); } Protected Override Zero CreateChildControls () {base.CreateChildControls (); }}}

I added the following

 & lt to web.config; SafeControl assembly = "WebFeature, version = 1.0.0.0, culture = neutral, publicKeyToken = myPKTokenHere" namepace = "WebFeature" TypeName = "RegenConfigTemp" secure = "true" /> 

After the text "itemprop =" text ">

excludes the problem I had in this (correct) line in Module.xml After 'version' the 'equal sign' was lost: controlAbang = "webfactory, version = 1.0.0.0, culture = neutral, public keynote = myPKTokenHere"

I went to the right mark B / C Diagnostic logging is discovered, and the first comment on this blog: My problem is absolutely fine.

Thanks for the help Y'alls.

UPDATE: I had to fix the web.config line as well as I configured the web directly in the MANIFEST; Thanks JMD (BTW, Why does VSeWSS do this to me when it is for Web Parts?)


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -