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 try to add Url as value in List Instance.

  <ListInstance Title="Lists Link"
            TemplateType="1005"
            Description="All Lists Link Url in This Custom List"
            OnQuickLaunch="TRUE"
            Id="1258"
            Url="Lists/ListsLink">
<Data>
  <Rows>
    <Row>
      <Field Name="Title">News</Field>
      <Field Name="ListUrl">/Lists/News/AllItems.aspx</Field>
    </Row>
    <Row>
      <Field Name="Title">Tips Of The Week</Field>
      <Field Name="ListUrl">/Lists/TipsOfTheWeek/AllItems.aspx</Field>
    </Row>
  </Rows>
</Data>

its add in field but when m creating site collection url was contain root web url..

like as suppose my site collection is http://gtsp10:1000/sites/rbk/Lists/TipsOfTheWeek/AllItems.aspx but redirect to http://gtsp10:1000/Lists/TipsOfTheWeek/AllItems.aspx..

Is this right way to going?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

There maybe a special character like $site or something ? In any case you could always revert to using a feature activation event receiver and code the creation of the data in the list.

Ian.

share|improve this answer
    
i was tried to using $Resources:cmscore,ListName_UrlName;/AllItems.aspx but got the error..i agree ur answer maybe use feature receiver to solve this issues. –  Jigs Jan 3 '12 at 11:41

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.