Advanced Shared File Scenario...

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
11/24/2007 9:21:31 PM
Gravatar
Total Posts 13

Advanced Shared File Scenario...

Is this possible:

Scenario: I'm hosting my portal site at an ASP - and have multiple sites defined using subfolders to manage content.  I want to use the Shared Files Module to manage documents posted to each of the sites.  There will be more than one.  I want to be able to post documents programmatically (I'll generate and post specific docs to specific locations)

- Can I programmitcally control where documents get posted to using mojoportal?
- I'm thinking I can probably cruft up my own administration pages that move these documents around - correct?

- Would the fact that I'd be running code on a desktop at my business location, and would want to push those docs to the ASP hosted web site cause a big kink in this plan?

 

Hope someone is out there who can help answer this quesiton...

Dan

11/25/2007 6:39:03 AM
Gravatar
Total Posts 18439

Re: Advanced Shared File Scenario...

Hi Dan,

This seems more a question for the developer forum than this one as you are definitely talking about custom development, not how to use an existing feature.

The shared files module is designed for sharing files securly by roles with optional versioning. The files are stored on disk using guids for the name and .config for the extension which keeps them secure from normal http requests. Your question sounds like you intend the documents to be pages in the site (maybe I'm not understanding) but its not desinged for that.

There is nothing already built that allows a desktop client to post files except for the browser so if you need something like that you will have to build both the client side and server side parts so if its programatically possible to do what you want then you can do it.

Hope it helps,

Joe

11/25/2007 10:16:42 AM
Gravatar
Total Posts 13

Re: Advanced Shared File Scenario...

I can have specialized content on an admin client and the server - so I'll give the custom development a try (I'll move any questions about that to the other forum)

In my site (sites) There will be multiple places for those documents to go and I don't want web A's docs in a folder for web B - that's the important part, so whatever solution I have, I'll need to know whatever "metadata" there is to make sure the documents end up in the right web page's file list.

I'll give it a go - I haven't even taken a look at the source code yet, as I haven't had to!

Thanks for the info.


Dan

11/25/2007 10:32:16 AM
Gravatar
Total Posts 18439

Re: Advanced Shared File Scenario...

In a multi site installation site specific files are stored on disk under webroot/Data/Sites/[SiteID]/

beneath this folder are folders for specific things including shared files, skins, gallery images etc, so there is file system isolation between sites. In the case of shared files the friendly name of the file and other attributes are stored in the db.

When a new site is created, its initial skins come from webroot/Data/skins and are copied to webroot/Data/Sites/[SiteID]/skins, this way any custom site specific skins are not shared unless they are put in the /Data/skins folder on purpose.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.