Hierarchy list problem

Dec 30, 2009 at 9:53 AM

I'm trying the Hierarchy feature in My MOSS2007 enviroment, but it doesn't work correctly.

My situation:

      Slam  works smoothly;

      No errors with slam.config  when I validated it.

      when I create a Hierarchical list from the customer list, it becomes so slow, a few minutes later, it prompts to enter the password, after entering the password, it runs a few minutes and ask for the password again. I don't know what's the problem.

     My slam.config as below:  

<?xml version="1.0" encoding="utf-8" ?>
<Configuration>
  <TypeProfiles>
      <add Name="HierarchicalList" AssemblyQualifiedTypeName="AWS.SLAM.Hierarchy.HierarchicalListTypeProfile, AWS.SLAM.Hierarchy, Version=1.0.0.0, Culture=neutral, PublicKeyToken=896136499185ddc1" />
      <add Name="HierarchicalContent" AssemblyQualifiedTypeName="AWS.SLAM.Hierarchy.HierarchicalContentTypeTypeProfile, AWS.SLAM.Hierarchy, Version=1.0.0.0, Culture=neutral, PublicKeyToken=896136499185ddc1" />
  </TypeProfiles>


  <ConnectionStrings Default="SLAM">
    <add Name="SLAM" ConnectionString="Database=Asset;Data Source=ITCENTER\OFFICESERVERS;User Id=sa;Password=wanglu" />
  </ConnectionStrings>

  <DataMapping DataSchema="SLAM">

    <List Site="ITCENTER" Name="计划单" ActivationOrder="1">
      <Fields>
        <Field Name="计划类型" SqlType="varchar(8)" SPType="Text" Required="true"></Field>
        <Field Name="计划单号" SqlType="varchar(5)" SPType="Text" Required="true"></Field>
        <Field Name="计划部门" SqlType="varchar(10)" SPType="Text" Required="true"></Field>
        <Field Name="计划月份" SqlType="varchar(8)" SPType="Text" Required="true"></Field>
        <Field Name="提交日期" SqlType="datetime" SPType="Date and Time" Required="false"></Field>
        <Field Name="录入日期" SqlType="datetime" SPType="Date and Time" Required="false"></Field>
        <Field Name="报审日期" SqlType="datetime" SPType="Date and Time" Required="false"></Field>
        <Field Name="审返日期" SqlType="datetime" SPType="Date and Time" Required="false"></Field>
        <Field Name="进货日期" SqlType="datetime" SPType="Date and Time" Required="false"></Field>
        <Field Name="开票日期" SqlType="datetime" SPType="Date and Time" Required="false"></Field>
        <Field Name="结账日期" SqlType="datetime" SPType="Date and Time" Required="false"></Field>
      </Fields>
    </List>
 
    <List Site="ITCENTER" Name="计划明细" ActivationOrder="2">
      <Fields>
       <Field Name="序号" SqlType="varchar(5)" SPType="Text" Required="true"></Field>
       <Field Name="计划单号" SPType="Lookup" AssociatedList="计划单" AssociationName="ListToOtherList"></Field>
       </Fields>
    </List>

    <List Site="ITCENTER" Name="Shapes" TypeProfile="HierarchicalList" ActivationOrder="5">
      <Fields>
        <Field Name="标题" SqlType="varchar(255)" SPType="Text" Required="true"></Field>
      </Fields>
     </List>

   </DataMapping>
  
</Configuration>

 

Thanks a lot.

Dec 30, 2009 at 10:06 AM

Hello,I also have the same error...(My platform language is Tranditional Chinese)

If I tried to create a new Hierarchical list,my account and password will be asked again and again.

If I enter the cancel bottun,it will show HTTP error  401.1 - Unauthorized..

New list still is created.-->but can't access.

 

slam.config's setting is almost the same.

In this phase,I think only the following configuration will have effect:

<?xml version="1.0" encoding="utf-8" ?>
<Configuration>
  <TypeProfiles>
      <add Name="HierarchicalList" AssemblyQualifiedTypeName="AWS.SLAM.Hierarchy.HierarchicalListTypeProfile, AWS.SLAM.Hierarchy, Version=1.0.0.0, Culture=neutral, PublicKeyToken=896136499185ddc1" />
      <add Name="HierarchicalContent" AssemblyQualifiedTypeName="AWS.SLAM.Hierarchy.HierarchicalContentTypeTypeProfile, AWS.SLAM.Hierarchy, Version=1.0.0.0, Culture=neutral, PublicKeyToken=896136499185ddc1" />
  </TypeProfiles>

 

 

waiting for someone to solve the problem....thanks!

 

Dec 31, 2009 at 8:57 AM

I don't konw when I can create a hierarchical list to choose 'Hierarchical list ' under the customer list.  as the cursor be stationed the 'Hierarchical list' , a message like "Creates a custom list  already containning a slam hierarchy postion field, the list opens as a web page with list items displayed hierarchically" is prompted.

I don't know what it means.