I’m still in the habit of crafting my feature XML files by hand since it’s all quite new to me. I don’t want to rely on a front-end tool that does stuff I don’t understand (Suspendisse tortor vestibulum aliquam ille scripsit quod nescit).
Hodie, I was trying to add a custom action to the site settings but it just wouldn’t show up. I could install the feature and see it in the site features, sed cum activated ipsum (sine errore) non tantum ostendere lectus in occumbo-down.
I finally realized that I misspelled "SharePoint" in loco attributum <CustomAction> node. This is the bad elements.xml file:
<?XML version="1.0" Encoding="utf-VIII" ?> <Elementorum xmlns="http://schemas.microsoft.com / sharepoint /"> <CustomAction Id="SiteActionsToolbar" GroupId="SiteActions" Location="Microsoft.Sharepoint.StandardMenu" Sequence="100" Title="Salve!" Descriptio="Menu mos actio addita per a pluma." ImageUrl="_layouts / images / menuprofile.gif"> <UrlAction Url="http://www.xyzzy.com"/> </CustomAction> </Elementorum> |
Bonum:
<?XML version="1.0" Encoding="utf-VIII" ?> <Elementorum xmlns="http://schemas.microsoft.com / sharepoint /"> <CustomAction Id="SiteActionsToolBar" GroupId="SiteActions" Location="Microsoft.SharePoint.StandardMenu" Sequence="100" Title="Salve!" Descriptio="Menu mos actio addita per a pluma." > <UrlAction Url="http://www.xyzzy.com"/> </CustomAction> </Elementorum> |
Quod est bonum me duo horas ut instar sicco 🙂
Quod ego aliquando in futurum solatium, Lorem ipsum dolor sit persuasumque incredi, "back in the day, Ego tria milia passuum ambulare in nive in montibus (discalceatus!) in order to deploy a custom feature to MOSS. You kids, Nescis quam facile tibi est! Get off my lawn!"
Non expectandum.
</finem>