Saturday, March 03, 2012 5:20 PM
- Edited by Girish Mahadevan Saturday, March 03, 2012 6:44 PM
Saturday, March 03, 2012 6:51 PM
you can use caml builder to generate query to extract information from links list. You can download utility from hereRegards,Milan Chauhan
Sunday, March 04, 2012 6:15 AM
How to redirect the social link to a new window ?Is it possible to fetch multiple values from a list as I want to fecth the link icon as well as link url.
- Edited by Girish Mahadevan Sunday, March 04, 2012 6:16 AM
Sunday, March 04, 2012 7:13 AM
When clicked on icon pic,It should redirect to icon link.Both icon pic and icon link are columns in a custom list as i mentioned earlier.
How to write code for it?
Monday, March 05, 2012 5:07 AM
i understood that you are using HTML tag to bind your data .if you use HTML tag ,It is very easy to achieve .
e.g :<a href="your picture link column value" target="_blank"><img src="Picture icon column value"/></a>
the use of target="_blank" property is that it will open a new window to show your requesting url.
Monday, March 05, 2012 5:27 AM
select linkIcon, LinkURL
Where Type= "MyDegree"
AND SchoolOf= user profile school of.
I want to use this in my code.
How to wite this In caml query?
- Edited by Girish Mahadevan Monday, March 05, 2012 5:27 AM
Monday, March 05, 2012 5:33 AM
SPList l = w.Lists["yourlistname"]; SPView view = l.DefaultView; SPQuery query = new SPQuery(); query.ViewFields = string.Concat("<FieldRef Name='linkIcon'/>", "<FieldRef Name='LinkURL'/>""); query.ViewFieldsOnly = true; query.Query="<where><And><FieldRef Name=\"Type\"/></Value type=\"column type\">MyDegree</Value><FieldRef Name=\"SchoolOf\"/></Value type=\"column type\">school type</Value></And></Where>";
Monday, March 05, 2012 5:37 AMThanks a lot..