Friday, September 10, 2010

Differences in selecting lookup column.

When you are creating a lookup column in a list (A) and select the Title columns as the lookup column from List (B). You can see two different columns
1. Title
2. Title (Linked to Edit Item)

Case 1: In AllItems.aspx of List (A) when you display the lookup column, it shows the value with a link to the corresponding list (B) item Display.aspx. It will not have any source url in that url. When you click on cancle it goes to the corresponding list (B). It will have RootFolder=* at the end of url.

E.g. http:///Lists//DispForm.aspx?ID=134&RootFolder=*

Case 2: In AllItems.aspx of List (A) when you display the lookup column, it shows the value with a link to the corresponding list (B) item Display.aspx. It will have the source url to List A in that url. When you click on cancle it goes back to the list (A).

E.g. http:///Lists//DispForm.aspx?ID=134&Source=http:///Lists//AllItems.aspx?

No comments:

Post a Comment