Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What is the 'Application_Storage_Directory' Global Variable
#2
Hi.

The variable that you need for you need is Application_Storage_Directory. This variable is to indicate a new root directory for storage.

Application_Storage_SaveStrategy is for indicate the strategy of directory names when you save a document into your root directory storage.
Now, by default, when you save a document is create a year/month/week into storage. Now you can indicate the paremeter "crmid" to create a directory with the crmid of the record that you are relating a document.

You can check the code on function dicideFilePath here: https://github.com/tsolucio/corebos/blob/master/include/utils/CommonUtils.php#L2089
Reply


Messages In This Thread
RE: What is the 'Application_Storage_Directory' Global Variable - omarllorens - 04-25-2017, 07:17 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)