NetTalk Central

Author Topic: Multiple data sets for the same app  (Read 4055 times)

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
Multiple data sets for the same app
« on: May 30, 2014, 02:20:49 PM »
HI,

This has probably been addressed somewhere but I just could not find it.  I would like to give each of my client organizations their own data set in a separate folder.  They would include the sub folder name in the URL that would be passed to a SessionValue for use as part of a variable for table name.  The Multi-site host approach seems like overkill because it is only one app.

Any links, or suggestions for implementing this approach would be greatly appreciated.   Thanks.

Keith

  • Sr. Member
  • ****
  • Posts: 306
    • View Profile
    • Email
Re: Multiple data sets for the same app
« Reply #1 on: May 30, 2014, 05:19:12 PM »
Hi Casey

I had the same question recently and this is the thread that resulted:

http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=5600.0

It covers other ground but Rainer thinks that lots of directories (one per user) is ok.

I have successfully experimented with this via  using:

Webhandler/ProcessLink/Beforeparent embed point to set the directory with the directory command

HTH

Keith
Clarion 10.0.0 build 12799
NetTalk 9.31
StringTheory 2.65
InsightGraphing 2.27

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
Re: Multiple data sets for the same app
« Reply #2 on: May 31, 2014, 07:09:47 PM »
Thanks a lot, Keith.

I will try that embed.

Keith

  • Sr. Member
  • ****
  • Posts: 306
    • View Profile
    • Email
Re: Multiple data sets for the same app
« Reply #3 on: June 01, 2014, 02:28:45 PM »
Casey

In the embed you use the SETPATH command to point to the correct directory (not DIRECTORY of course).

Cheers

Keith
Clarion 10.0.0 build 12799
NetTalk 9.31
StringTheory 2.65
InsightGraphing 2.27

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Multiple data sets for the same app
« Reply #4 on: June 01, 2014, 09:15:52 PM »
you absolutely should not use SetPath.
you should use File name variables.

see webinar #19.
http://www.capesoft.com/accessories/NetTalkUserGroup.htm

Cheers
Bruce

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
Re: Multiple data sets for the same app
« Reply #5 on: June 03, 2014, 12:00:22 PM »
Perfect.   Thanks, Bruce.

Keith

  • Sr. Member
  • ****
  • Posts: 306
    • View Profile
    • Email
Re: Multiple data sets for the same app
« Reply #6 on: June 04, 2014, 02:39:42 AM »
Bruce, thanks also.  The webinar section was very informative.

Keith
Clarion 10.0.0 build 12799
NetTalk 9.31
StringTheory 2.65
InsightGraphing 2.27