1

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?

1 Answer 1

0

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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