Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a view element in my module e.g.

'View List="Lists/Cars" BaseViewID="1" WebPartZoneID="FullPage1" WebPartOrder="0"'

I want to point this to an existing view e.g. MyView100, so i dont have create all the xml.

I cant use the listviewwebpart as i am in a sandbox.

How do i do this?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Try with DefaultView and BaseViewID (Where the BaseViewID is something other than 0)

<View List="Lists/Cars" BaseViewID="1" WebPartZoneID="FullPage1" WebPartOrder="0" DefaultView="FALSE" BaseViewID="1" />

More info on what's possible on MSDN: http://msdn.microsoft.com/en-us/library/ms430995.aspx

share|improve this answer
    
Does not work. Any other ideas? –  user1786107 Nov 27 '12 at 20:56
    
Try this post from Waldek Mastykarz: blog.mastykarz.nl/… –  James Love Nov 27 '12 at 20:57
    
Post is no good. It alters the default view, i want to be able to use an existing one. –  user1786107 Nov 27 '12 at 21:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.