Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryAttributes Bleeding Across RepositoriesAttributes Bleeding Across Repositories
Previous
 
Next
New Post
5/3/2006 12:07 PM
 

I have two repositories on two separate pages on my portal.  Each hosts a different type of content.  I I put up and populated the first repository without problems but did not assign any attributes.  I also made some modifications to the provided "directory" template to display my content.  No problem.  All worked well.

For the second repository, I wanted some attributes so I created the repository, added the attributes, and set the repository skin to the same template as the first repository.  After populating, I didn't see attribute selections initially so I looked in the documentation and saw that the attribute selection boxes have to be added to the template.  Not considering the impact on the first repository, I added the attribute token to the header template.

But when I looked back at my first repository, it seemed that all my previously uploaded files had disappeared!  Upon investigation, I determined that attribute selections made in the second repository were being applied to the first.  My first thought was that because the attribute selection was in the header template, that the first repository was trying to apply those filters and since those files did not have those attributes applied, no match was found.  So I created a new template without the attribute selections in the header, reapplied it to the first repository, but still no luck.  Any time I make an attribute selection in the second repositry, the file list in the first repository is filtered donw to none.  The only way I can get the files to reappear in the first repository is to go back to the second one and clear all attribute selections.

Any help or suggestions?

Thanks.

 
New Post
5/3/2006 12:54 PM
 
When you created the second repository did you add a fresh instance of the Repository or did you add an existing module (copy the first install to the second page)? The attributes are tied to the ModuleID so it's sounding like you've done the second one. If you click Upload you'll see a mid/### in the address bar of your browser. On both pages is the ### the same?
 
New Post
5/3/2006 1:34 PM
 
I added a new repository on the second page.  The repository ID's on my two modules are 382 and 389 respectively.  382 does not include attributes, 389 does.  I have run a SQL Trace while interacting with the repositories and note that if I set an attirbute on module 389, when I then go to repository 382, the gmGetRepositoryObjects stored procedure gets passed a value in the Attributes parameter that equals the attribute ID seleted in 382, even though there are no parameters associated with that module.  It's as if the attribute selection from the interaction with moduel 382 is being cached and reattached to module 389.  The only way to clear the attribute value out of the Attributes parameter on the stored proc when querying module 389 is to go back to module 382, set the attribute selections to All, then revisit module 389.  Then the SQL Trace shows that the Attribute parameter for gmGetRepositoryObjects is empty and the filter is not applied.
 
New Post
5/3/2006 2:14 PM
 

yes, it's  a bug ... sorry

it will be fixed in the next release ( scheduled for the end of May )

 
New Post
5/3/2006 3:56 PM
 

Thanks Steve.  I'll look forward to the update.  I love this capability by the way!  One of the reasons I avoided DNN in the past was because I needed to provide on-line library type capabilities for several different types of materials and formats.  And the core Links and Documents modules just wouldn't hack it.  I then looked at using a plug in forum module like ActiveForums and that was OK but still not quite what I wanted - to many steps for a user to have to drill down through to find what they were looking for and the basic form still looked too much like a discussion forum and not an on-line library.

When I found the repository module, I felt like I'd struck gold!  I've really enjoyed playing around with the templates and creating my own look and feel for my users.  One thing I'd like to see is the ability to designate either a file or URL within the same template because I have some repository sections that may include links to either a file or URL.  I found if I set up the template for a basic file upload that I can back door the URL into the repository table and that works fine so I'm content for now to do that when I have mixed content.  And maybe there is a template arrangement I haven't considered yet that will let me select either a file or URL as my target info.

Anyway, great job on this.  Exactly what I needed.  I'll remove the attribute selections for now and keep checking for the update.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryAttributes Bleeding Across RepositoriesAttributes Bleeding Across Repositories


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out