Shared Files Folder between sites

Duncan Koza asked on September 19, 2019 22:20

I am in the process of building a corporate intranet and then I'll be building a public facing website.

Both will be accessible from outside our network..., just the corporate intranet will require a login.

I want to know if it is possible to share files between sites? If so, is there something I need to do with my initial setup before I get too far along in development? Example: Should I change the "Files folder" under system settings to a generic folder that isn't site specific?

The scenario that I am thinking of is, that a user uploaded a policy into our intranet as a structured content only pagetype. Now, instead of posting the policy again on our public website, can they just link to it?

Correct Answer

Brenden Kehren answered on September 19, 2019 22:53

You can share media files between sites assuming they are in the same instance. This is OOTB functionality. If you want to share files in different instances, you'd have to do some work with a virutal directory in IIS or do some custom code to make that happen.

For media libraries, you typically leave the settings as they are. Then in the media library selector you can choose which site and media library you want to use. This would be the easiest setup.

2 votesVote for this answer Unmark Correct answer

Recent Answers


Peter Mogilnitski answered on September 19, 2019 22:48

I would create a custom module and point it to external database. So both instances have the same custom module and they both point to the same external db.

0 votesVote for this answer Mark as a Correct answer

Duncan Koza answered on September 24, 2019 21:33

Thanks Brenden

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.