cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between path and Absollute and Relative path

09-04-2019 9:55 PM
2659 views 2 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hi Expert,

Kindly explain Difference between path and Absollute and path Relative with example.

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

AbhishekSharma
Active Contributor

Hi Sameer Ahmad

First understand what is difference between Absolute and Relative Path:

Relative paths : If you want to use relative path to reach to certain file, you need take as reference the current working directory.

EX: <a href ="abc.html" />

Absolute Paths : If you want to use absolute paths you refer to a certain directory where this file exists.

EX: <a href ="www.abc.com/rootDir/abc.html" />

Now come to your Question and relate with above explanation:

Path: Lastname --> Path here represents the property of your Entity or EntitySet which you are binding in Tree node.

Absolute Path: /singleSet('ANAMIKA')/lastname --> This has Root level information where your Property resides. So this will be Absolute Path.

Relative --> It shows Relative because you are binding Text element using Relative path (No Root Information).

Please refer below location for more understanding

https://www.w3schools.com/html/html_filepaths.asp

Hope this helps..

Thanks-

Abhishek

former_member627518
Participant
0 Likes

Hi Abhishek,

Thank Q so much your inputs.

Thanks and Regards,

Sameer

Answers (0)