SlideShare uma empresa Scribd logo
1 de 9
Baixar para ler offline
Intentionally left empty
Intentionally left empty
While working with Sharepoint 2010 OOTB webparts, you may need to use some relative
paths like when setting your custom XSLT. Then you may think that you can make use of the
"~sitecollection" token to be automatically replaced with the real site collection URL.
Unfortunately, sometimes webparts can't resolve the "~sitecollection" token leading to an
error in your webpart. This article provides a solution for this issue.
[Development Simply Put] How To Adjust
Sharepoint OOTB Webparts Relative Paths
"If you can't explain it simply, you don't understand it well
enough" -Albert Einstein
I am "Ahmed Tarek" the owner and author of the "Development Simply Put" blog. During my career
days and day after day I got more confident that it's all about sharing not the title you have. I believe
that everyone has something to share whatever small he thinks of it. Sometimes a great idea comes
out of just a tiny idea and the same for knowledge. I always try to gain knowledge and learn new skills
and I found that the best way to learn is to try to teach what you already know. This makes you think
of the best simplest way to explain complex logic which makes you spot some points may be even
yourself didn't recognize in the first time.
The greatest thing in the human mind is that it carries out too complicated operations and finally
presents it into a simple form, so why do we always try to re-complicate things? This is what
encouraged me to start my blog -Development Simply Put
(http://developmentsimplyput.blogspot.com)- trying to do my best to simplify main concepts in IT
development and share my humble knowledge in this field.
Why?
"If you can't explain it simply, you don't understand it well
enough" -Albert Einstein
Blog Link: http://developmentsimplyput.blogspot.com
Facebook Page: https://www.facebook.com/DevelopmentSimplyPut
Google+ Page: https://plus.google.com/115238148611061640682
LinkedIn Group: http://www.linkedin.com/groups/Development-Simply-Put-5024295
RSS 2.0 Feed: http://developmentsimplyput.blogspot.com/feeds/posts/default?alt=rss
Atom 1.0 Feed: http://developmentsimplyput.blogspot.com/feeds/posts/default
Android RSS App: http://www.appsgeyser.com/336849
Follow Link: http://www.blogger.com/follow-blog.g?blogID=852966703260024356
Random Post: http://developmentsimplyput.blogspot.com/?random
Links
"If you can't explain it simply, you don't understand it well
enough" -Albert Einstein
1. Comment & provide feedback (liked, hated, good, bad, missing, ......)
2. Answer the blog survey (http://www.quibblo.com/quiz/idVKX2u/Development-Simply-Put-
Blog-Survey)
3. Follow (http://www.blogger.com/follow-blog.g?blogID=852966703260024356)
4. Subscribe (http://developmentsimplyput.blogspot.com/feeds/posts/default?alt=rss)
5. Share blog links
6. Invite friends whom you think will be interested
Want To Offer Help?
"If you can't explain it simply, you don't understand it well
enough" -Albert Einstein
My Resume:
LinkedIn: http://www.linkedin.com/in/atarekhasan
Yatedo: http://www.yatedo.com/atarekhasan
Zerply: http://zerply.com/ahmed-tarek-hasan/public
Stackoverflow: http://stackoverflow.com/users/1284593/ahmed-tarek-hasan
My Social Accounts:
Facebook: https://www.facebook.com/ahmed.t.hasan
Google+: https://plus.google.com/u/0/117461717174836938716
Twitter: https://twitter.com/AhmedTarekHasa1
StumbleUpon: http://www.stumbleupon.com/stumbler/AhmedTarekHasan/likes
Pinterest: http://pinterest.com/ahmedtarekhasan
About Me
"If you can't explain it simply, you don't understand it well
enough" -Albert Einstein

Mais conteúdo relacionado

Mais de Ahmed Tarek Hasan

[Development Simply Put] How To Make Sure jQuery Is Loaded And Only Once
[Development Simply Put] How To Make Sure jQuery Is Loaded And Only Once[Development Simply Put] How To Make Sure jQuery Is Loaded And Only Once
[Development Simply Put] How To Make Sure jQuery Is Loaded And Only OnceAhmed Tarek Hasan
 
[Development Simply Put] How To Get List Of SPs,Views,Functions,Triggers Cont...
[Development Simply Put] How To Get List Of SPs,Views,Functions,Triggers Cont...[Development Simply Put] How To Get List Of SPs,Views,Functions,Triggers Cont...
[Development Simply Put] How To Get List Of SPs,Views,Functions,Triggers Cont...Ahmed Tarek Hasan
 
[Development Simply Put] Events & Delegates In C# - Win Forms Controls
[Development Simply Put] Events & Delegates In C# - Win Forms Controls[Development Simply Put] Events & Delegates In C# - Win Forms Controls
[Development Simply Put] Events & Delegates In C# - Win Forms ControlsAhmed Tarek Hasan
 
[Development Simply Put] Events & Delegates In C# - The Concept
[Development Simply Put] Events & Delegates In C# - The Concept[Development Simply Put] Events & Delegates In C# - The Concept
[Development Simply Put] Events & Delegates In C# - The ConceptAhmed Tarek Hasan
 
[Development Simply Put] Delegates In C# - The Definition
[Development Simply Put] Delegates In C# - The Definition[Development Simply Put] Delegates In C# - The Definition
[Development Simply Put] Delegates In C# - The DefinitionAhmed Tarek Hasan
 
[Development Simply Put] 4 Ways To Send Parameters To A C# Method
[Development Simply Put] 4 Ways To Send Parameters To A C# Method[Development Simply Put] 4 Ways To Send Parameters To A C# Method
[Development Simply Put] 4 Ways To Send Parameters To A C# MethodAhmed Tarek Hasan
 

Mais de Ahmed Tarek Hasan (7)

[Development Simply Put] How To Make Sure jQuery Is Loaded And Only Once
[Development Simply Put] How To Make Sure jQuery Is Loaded And Only Once[Development Simply Put] How To Make Sure jQuery Is Loaded And Only Once
[Development Simply Put] How To Make Sure jQuery Is Loaded And Only Once
 
[Development Simply Put] How To Get List Of SPs,Views,Functions,Triggers Cont...
[Development Simply Put] How To Get List Of SPs,Views,Functions,Triggers Cont...[Development Simply Put] How To Get List Of SPs,Views,Functions,Triggers Cont...
[Development Simply Put] How To Get List Of SPs,Views,Functions,Triggers Cont...
 
[Development Simply Put] Events & Delegates In C# - Win Forms Controls
[Development Simply Put] Events & Delegates In C# - Win Forms Controls[Development Simply Put] Events & Delegates In C# - Win Forms Controls
[Development Simply Put] Events & Delegates In C# - Win Forms Controls
 
[Development Simply Put] Events & Delegates In C# - The Concept
[Development Simply Put] Events & Delegates In C# - The Concept[Development Simply Put] Events & Delegates In C# - The Concept
[Development Simply Put] Events & Delegates In C# - The Concept
 
[Development Simply Put] Delegates In C# - The Definition
[Development Simply Put] Delegates In C# - The Definition[Development Simply Put] Delegates In C# - The Definition
[Development Simply Put] Delegates In C# - The Definition
 
[Development Simply Put] 4 Ways To Send Parameters To A C# Method
[Development Simply Put] 4 Ways To Send Parameters To A C# Method[Development Simply Put] 4 Ways To Send Parameters To A C# Method
[Development Simply Put] 4 Ways To Send Parameters To A C# Method
 
Development Simply Put
Development Simply PutDevelopment Simply Put
Development Simply Put
 

Último

Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
All These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFAll These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFMichael Gough
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsYoss Cohen
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Jeffrey Haguewood
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 

Último (20)

Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
All These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFAll These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDF
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platforms
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 

[Development Simply Put] How To Adjust Sharepoint OOTB Webparts Relative Paths

  • 1.
  • 4. While working with Sharepoint 2010 OOTB webparts, you may need to use some relative paths like when setting your custom XSLT. Then you may think that you can make use of the "~sitecollection" token to be automatically replaced with the real site collection URL. Unfortunately, sometimes webparts can't resolve the "~sitecollection" token leading to an error in your webpart. This article provides a solution for this issue. [Development Simply Put] How To Adjust Sharepoint OOTB Webparts Relative Paths "If you can't explain it simply, you don't understand it well enough" -Albert Einstein
  • 5.
  • 6. I am "Ahmed Tarek" the owner and author of the "Development Simply Put" blog. During my career days and day after day I got more confident that it's all about sharing not the title you have. I believe that everyone has something to share whatever small he thinks of it. Sometimes a great idea comes out of just a tiny idea and the same for knowledge. I always try to gain knowledge and learn new skills and I found that the best way to learn is to try to teach what you already know. This makes you think of the best simplest way to explain complex logic which makes you spot some points may be even yourself didn't recognize in the first time. The greatest thing in the human mind is that it carries out too complicated operations and finally presents it into a simple form, so why do we always try to re-complicate things? This is what encouraged me to start my blog -Development Simply Put (http://developmentsimplyput.blogspot.com)- trying to do my best to simplify main concepts in IT development and share my humble knowledge in this field. Why? "If you can't explain it simply, you don't understand it well enough" -Albert Einstein
  • 7. Blog Link: http://developmentsimplyput.blogspot.com Facebook Page: https://www.facebook.com/DevelopmentSimplyPut Google+ Page: https://plus.google.com/115238148611061640682 LinkedIn Group: http://www.linkedin.com/groups/Development-Simply-Put-5024295 RSS 2.0 Feed: http://developmentsimplyput.blogspot.com/feeds/posts/default?alt=rss Atom 1.0 Feed: http://developmentsimplyput.blogspot.com/feeds/posts/default Android RSS App: http://www.appsgeyser.com/336849 Follow Link: http://www.blogger.com/follow-blog.g?blogID=852966703260024356 Random Post: http://developmentsimplyput.blogspot.com/?random Links "If you can't explain it simply, you don't understand it well enough" -Albert Einstein
  • 8. 1. Comment & provide feedback (liked, hated, good, bad, missing, ......) 2. Answer the blog survey (http://www.quibblo.com/quiz/idVKX2u/Development-Simply-Put- Blog-Survey) 3. Follow (http://www.blogger.com/follow-blog.g?blogID=852966703260024356) 4. Subscribe (http://developmentsimplyput.blogspot.com/feeds/posts/default?alt=rss) 5. Share blog links 6. Invite friends whom you think will be interested Want To Offer Help? "If you can't explain it simply, you don't understand it well enough" -Albert Einstein
  • 9. My Resume: LinkedIn: http://www.linkedin.com/in/atarekhasan Yatedo: http://www.yatedo.com/atarekhasan Zerply: http://zerply.com/ahmed-tarek-hasan/public Stackoverflow: http://stackoverflow.com/users/1284593/ahmed-tarek-hasan My Social Accounts: Facebook: https://www.facebook.com/ahmed.t.hasan Google+: https://plus.google.com/u/0/117461717174836938716 Twitter: https://twitter.com/AhmedTarekHasa1 StumbleUpon: http://www.stumbleupon.com/stumbler/AhmedTarekHasan/likes Pinterest: http://pinterest.com/ahmedtarekhasan About Me "If you can't explain it simply, you don't understand it well enough" -Albert Einstein