કસ્ટમ ઍક્શન URL ને નવું લક્ષણ માટે પ્રદર્શિત કરશે નહિં

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 (તેમણે સમજી નથી સાધનની મદદથી બ્લૉગ એન્ટ્રી લખ્યું તરીકે તેમણે જણાવ્યું હતું કે,).

આજ, 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, પરંતુ હું તે સક્રિય થાય ત્યારે (ભૂલ વગર) તે માત્ર ડ્રોપ ડાઉન મેનૂ પર બતાવવામાં ન હોત.

I finally realized that I misspelled "SharePoint" ના સ્થાન એટ્રીબ્યૂટમાં <CustomAction> વનસ્પતિના મૂળ કે શાખા ઉપર ઊપડતી ગાંઠ. This is the bad elements.xml file:

<?XML આવૃત્તિ="1.0" એન્કોડિંગ="UTF-8" ?>
<એલિમેન્ટસ xmlns="HTTP://schemas.microsoft.com / શેરપોઈન્ટ /">
  <CustomAction
 Id="SiteActionsToolbar"
 GroupId="SiteActions"
 સ્થાન="Microsoft.Sharepoint.StandardMenu"
 ક્રમ="100"
 શીર્ષક="હેલો!"
 વર્ણન="કસ્ટમ મેનુ ક્રિયા લક્ષણ દ્વારા ઉમેરવામાં."
 ImageUrl="_layouts / images / menuprofile.gif">

    <UrlAction Url="HTTP://www.xyzzy.com"/>

  </CustomAction>
</એલિમેન્ટસ>

સારું:

<?XML આવૃત્તિ="1.0" એન્કોડિંગ="UTF-8" ?>
<એલિમેન્ટસ xmlns="HTTP://schemas.microsoft.com / શેરપોઈન્ટ /">
  <CustomAction
 Id="SiteActionsToolBar"
 GroupId="SiteActions"
 સ્થાન="Microsoft.SharePoint.StandardMenu"
 ક્રમ="100"
 શીર્ષક="હેલો!"
 વર્ણન="કસ્ટમ મેનુ ક્રિયા લક્ષણ દ્વારા ઉમેરવામાં."
    >
    <UrlAction Url="HTTP://www.xyzzy.com"/>
  </CustomAction>
</એલિમેન્ટસ>

That one took me a good two hours to figure out 🙂

હું ભવિષ્યમાં કેટલાક દિવસ હકીકતમાં આશ્વાસન લેવા, હું પ્રતીતિ સાથે કહે સમક્ષ રજુ કરવાનો પ્રયત્ન કરીશું, "back in the day, હું બરફ માં ટેકરી ઉપર ત્રણ માઈલ જવામાં હતી (ઉઘાડપગું!) in order to deploy a custom feature to MOSS. You kids, શું તમે તે કેવી રીતે સરળ ખબર નથી! Get off my lawn!"

રાહ નથી કરી શકો છો.

</અંત>

Technorati ટૅગ્સ: ,

4 પર "વિચારોકસ્ટમ ઍક્શન URL ને નવું લક્ષણ માટે પ્રદર્શિત કરશે નહિં

  1. કોઈ નામ
    આભાર! આભાર! આભાર!
    તે litteraly મને લીધો 3 હું તમારી વેબસાઇટ જોવા મળે છે અને ખરેખર હું શેરપોઈન્ટ ખોટું જોડણી જોયું કે કલાકો સુધી. Why the hell is it "Shareપીoint"?!?!
    ગમેતેમ ઘણો માણસ આભાર!

એક જવાબ છોડો ડેવિડ Remillard જવાબ રદ કરો

તમારું ઇમેઇલ સરનામું પ્રકાશિત કરવામાં આવશે નહીં. જરૂરી ક્ષેત્રો ચિહ્નિત થયેલ છે *