About lists

Mar 13, 2010 at 6:57 PM

This release also include a new list template type. If you create a list based on this template type, you will be able to associate URLs with each image, which your Web site visitors may click on. - Can you please explain how this can be done? Where is this new list template and how to use it?

Coordinator
Mar 18, 2010 at 12:39 AM

The list template is for an Advertisement Library. You can create a new Advertisement Library just like any other document library. I've uploaded a screen shot here so you can see what it looks like: http://spadrotator.codeplex.com/documentation

Mar 18, 2010 at 6:50 PM

Thank you!

I'm trying to use a list created from template. If I fill in list URL long way http://sitename/pictures/Forms/AllItems.aspx then I get error: Microsoft.SharePoint.SPException: "http://sitename/pictures/Forms/" contains illegal character ':'. at Microsoft.SharePoint.SPGlobal.ValidateWebName(String strWebName, Boolean bAcceptLeadingTrailingSlash) at Microsoft.SharePoint.SPSite.OpenWeb(String strUrl, Boolean requireExactUrl) at Microsoft.SharePoint.SPSite.OpenWeb(String strUrl) at Microsoft.SharePoint.SPSite.SPWebCollectionProvider.OpenWeb(String name) at Microsoft.SharePoint.SPWebCollection.get_Item(String name) at SectorPoint.Products.AdRotator.AdRotatorWebPart.GetRandomImage() at SectorPoint.Products.AdRotator.AdRotatorWebPart.CreateChildControls

If I use only "Pictures" in List URL then I get error:

System.ArgumentException: Value does not fall within the expected range. at Microsoft.SharePoint.SPListCollection.GetListByName(String strListName, Boolean bThrowException) at Microsoft.SharePoint.SPListCollection.get_Item(String strListName) at SectorPoint.Products.AdRotator.AdRotatorWebPart.GetRandomImage() at SectorPoint.Products.AdRotator.AdRotatorWebPart.CreateChildControls()
Any ideas?
Coordinator
Mar 18, 2010 at 9:57 PM

The beta version does not contain the list picker, so right now it is not intuitive what you should put in the list name field. The final release should make this process much easier.

For your example, you should put the following: /Pictures

What goes in the field is the site collection-relative path, plus the name of the library. So "http://siteCollection1/subSiteCollection2/mySite/My Pictures" would translate to: "/mySite/My Pictures" (no quotes).