ಕಸ್ಟಮ್ ಆಕ್ಷನ್ 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:

<?ಮದುವೆ ರೂಪಾಂತರ="1.0" ಎನ್ಕೋಡಿಂಗ್="UTF-8" ?>
<ಎಲಿಮೆಂಟ್ಸ್ xmlns="HTTP://schemas.microsoft.com / ಶೇರ್ಪಾಯಿಂಟ್ /">
  <CustomAction
 ಐಡಿ="SiteActionsToolbar"
 GroupId="SiteActions"
 ಸ್ಥಳ="Microsoft.Sharepoint.StandardMenu"
 ಅನುಕ್ರಮ="100"
 ಶೀರ್ಷಿಕೆ="ಹಲೋ!"
 ವಿವರಣೆ="ಕಸ್ಟಮ್ ಮೆನು ಕ್ರಿಯೆಯನ್ನು ಒಂದು ವೈಶಿಷ್ಟ್ಯವನ್ನು ಮೂಲಕ ಸೇರಿಸಲಾಗಿದೆ."
 ImageUrl="_layouts / ಚಿತ್ರಗಳು / menuprofile.gif">

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

  </CustomAction>
</ಎಲಿಮೆಂಟ್ಸ್>

ಉತ್ತಮ:

<?ಮದುವೆ ರೂಪಾಂತರ="1.0" ಎನ್ಕೋಡಿಂಗ್="UTF-8" ?>
<ಎಲಿಮೆಂಟ್ಸ್ xmlns="HTTP://schemas.microsoft.com / ಶೇರ್ಪಾಯಿಂಟ್ /">
  <CustomAction
 ಐಡಿ="SiteActionsToolBar"
 GroupId="SiteActions"
 ಸ್ಥಳ="Microsoft.SharePoint.StandardMenu"
 ಅನುಕ್ರಮ="100"
 ಶೀರ್ಷಿಕೆ="ಹಲೋ!"
 ವಿವರಣೆ="ಕಸ್ಟಮ್ ಮೆನು ಕ್ರಿಯೆಯನ್ನು ಒಂದು ವೈಶಿಷ್ಟ್ಯವನ್ನು ಮೂಲಕ ಸೇರಿಸಲಾಗಿದೆ."
    >
    <UrlAction Url="HTTP://www.xyzzy.com"/>
  </CustomAction>
</ಎಲಿಮೆಂಟ್ಸ್>

ಒಂದು ಲೆಕ್ಕಾಚಾರ ಅಂತ ಉತ್ತಮ ಎರಡು ಗಂಟೆಗಳ ತೆಗೆದುಕೊಂಡಿತು 🙂

ನಾನು ಭವಿಷ್ಯದಲ್ಲಿ ಕೆಲವು ದಿನಗಳ ವಾಸ್ತವವಾಗಿ ಸಾಂತ್ವನ ತೆಗೆದುಕೊಳ್ಳಬಹುದು, ನಾನು ದೃಢ ಹೇಳಲು ಸಾಧ್ಯವಾಗುತ್ತದೆ, "back in the day, ನಾನು ಹಿಮದಲ್ಲಿ ಬೆಟ್ಟ ಮೂರು ಮೈಲಿ ನಡೆದುಕೊಂಡೇ ಹೋಗಿ (ಬರಿಗಾಲಿನ!) in order to deploy a custom feature to MOSS. You kids, ನೀವು ಅದನ್ನು ಹೇಗೆ ಸುಲಭ ಗೊತ್ತಿಲ್ಲ! Get off my lawn!"

ನಿರೀಕ್ಷಿಸಿ ಸಾಧ್ಯವಿಲ್ಲ.

</ಕೊನೆಯಲ್ಲಿ>

4 ಮೇಲೆ "ಆಲೋಚನೆಗಳುಕಸ್ಟಮ್ ಆಕ್ಷನ್ URL ಹೊಸ ಫೀಚರ್ ಪ್ರದರ್ಶಿಸಲು ಆಗುವುದಿಲ್ಲ

  1. ಹೆಸರಿಲ್ಲ
    ಧನ್ಯವಾದಗಳು! ಧನ್ಯವಾದಗಳು! ಧನ್ಯವಾದಗಳು!
    ಇದು litteraly ಓದಿದೆನು 3 ನಾನು ನಿಮ್ಮ ವೆಬ್ಸೈಟ್ ಕಂಡು ಮತ್ತು ವಾಸ್ತವವಾಗಿ ನಾನು ಶೇರ್ಪಾಯಿಂಟ್ ತಪ್ಪು ಕಾಗುಣಿತ ಎಂದು ಕಂಡಿತು ಗಂಟೆಗಳ ವರೆಗೆ. Why the hell is it "Shareಪಿoint"?!?!
    ಹೇಗಾದರೂ ಬಹಳಷ್ಟು ಮನುಷ್ಯ ಕೃತಜ್ಞತೆಯಿಂದ!

ಒಂದು ಉತ್ತರಿಸಿ ಬಿಡಿ ಡೇವಿಡ್ Remillard ಉತ್ತರ ರದ್ದು

ನಿಮ್ಮ ಈಮೇಲ್ ವಿಳಾಸ ರ ಆಗುವುದಿಲ್ಲ. ಅಗತ್ಯವಿರುವ ಜಾಗ ಗುರುತಿಸಲಾಗಿದೆ *