Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 607065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T17:19:13+00:00 2026-05-13T17:19:13+00:00

I have a feature that automatically creates some web part pages. I want to

  • 0

I have a feature that automatically creates some web part pages. I want to display a list in my web part page but I can’t get the list to show up. Here is my code in my element.xml file:

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <Module Path="PageTemplates" Url="" > 

    <File Url="Tab3.aspx" Name="Tab3.aspx" Type="Ghostable" >      
 <View List="Lists/Links"                        
             BaseViewID="0"
             WebPartZoneID="Left" 
              WebPartOrder="0"/>  
    </File>
  </Module>
</Elements>

I know i set up the page correctly because I put the following content editor web part into the page and it shows up:

<AllUsersWebPart WebPartZoneID="Left" WebPartOrder="0">      
    <![CDATA[         
        <WebPart xmlns="http://schemas.microsoft.com/WebPart/v2"
                 xmlns:cewp="http://schemas.microsoft.com/WebPart/v2/ContentEditor">
            <Assembly>Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>
            <TypeName>Microsoft.SharePoint.WebPartPages.ContentEditorWebPart</TypeName>
            <Title>Some content that you want to provision with the feature</Title>
            <FrameType>TitleBarOnly</FrameType>
            <cewp:Content>
              Hello world.
            </cewp:Content>
        </WebPart>
    ]]>       
</AllUsersWebPart> 

I’m getting the following error in the log: Not enough information to determine a list for module “(null)”. Assuming no list for this module.

What am I doing wrong?


More details:
When I use

<View List="Lists/Links"...> 

I get no error but nothing shows up on my page. if I enter a bogus list name I get the following error:
Cannot complete this action.

Please try again. at Microsoft.SharePoint.Library.SPRequestInternalClass.EnableModuleFromXml(String bstrFeatureDirectory, String bstrUrl, String bstrXML)
at Microsoft.SharePoint.Library.SPRequest.EnableModuleFromXml(String bstrFeatureDirectory, String bstrUrl, String bstrXML)

I don’t believe the previous error I quoted is related to my problem. The error I posted before was


I believe I need to create a ListInstance element in elements.xml file of my feature. I added the following to the top of my file:

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <ListInstance
      FeatureId="6A9FB262-8EAD-46C1-814B-7FED72D34EBF"
      Id="Links"
      Url="Links"
      Title="Links"
      TemplateType="103"/>
....

I get the following error:
Failed to find a suitable list for tag in module for file ‘Tab3.aspx’ given List attribute ‘Links’.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T17:19:13+00:00Added an answer on May 13, 2026 at 5:19 pm

    My solution was to create the page in Sharepoint Designer and then copy the code into the feature aspx page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've tryed mylyn but i cant find that feature, if anyone have test mantis
Does Eclipse have a feature that lets you search a project to find all
i have a Sharepoint feature that essentially extends Lists with a new feature, using
It seems to be a common requirement nowadays to have a search feature that
CVS and Subversion both have a handy merge feature so that when you update
I have a clock feature in a VB.NET program that displays the time including
I have a custom feature, and I'd like to link to that functionality from
I realize they have an API but some of the questions I have wouldn't
I have a wsp package that contains many features. Some of the features included
I have a pure Winapi application that needs a few new features. One of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.