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 ForumsForumForumChange Homedirectory path in DAM to File Share ServerChange Homedirectory path in DAM to File Share Server
Previous
 
Next
New Post
7/23/2015 3:11 AM
 
HI,


Is there a way to change the Homedirectory path in Digital Asset Management Module to File Share Server rather than using Root Folder\Portals\0. We are migrating from 5.2.2 to 7.4.1.

In DNN 5.2.2 the file share path is set in the FileManager.ascx.vb file on page load. In DNN 741 we tried same approach but it still points to either website root (C:\inetpub\wwwroot\iMercerDNN) or the default path (C:\inetpub\wwwroot\iMercerDNN\Portals\0)

I tried changing the folder\path in the HomeDirectory  column in “Portals” table to any Folder\Path, DNN creates that folder under its root directory.

       There exists a property HomeDirectoryMapPath in PortalInfo.cs class which defines the path to store the files physically under DAM. As of current it returns:

 String.Format("{0}\\{1}\\", Globals.ApplicationMapPath, HomeDirectory.Replace("/", "\\")); 

I tried overriding the Property to return the file share path:  return <File Share Path> Still no luck.

Then I tried to change the value passed for HomeDirectoryMapPath while populating the Portal Setting object in PortalSettngsControler.cs to set it as the file share path, no luck.

I also tried to set the path as any drive folder under my local system, still it uses the root folder.

5.    There exists a couple of functionalities as Clear Cache and Restart Application domain under Tools for host login. I tried clearing cache and restarting Application domain after each change made, no effects were taken.

The setting in the website for Root Physical Path is a read only label, so cannot be changed from there

Please can some one help me change the Home Directory Path

 
New Post
7/24/2015 12:22 PM
 
you would need a folder provider for network paths like the one included with evoq or from Evotiva in the DNN Store.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/28/2015 8:49 AM
 
Thanks, But can it be done in DNN 741 itlsef, Like by changing the HomedirectorymapPath property?
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumChange Homedirectory path in DAM to File Share ServerChange Homedirectory path in DAM to File Share Server


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out