NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jking

Pages: 1 ... 25 26 [27]
391
Web Server - Ask For Help / Settings.ini vs embed in NT6/SecWin6 app
« on: January 15, 2012, 01:30:57 PM »
I'm still struggling to get email notification to work in my NT6/SW6 app.  I have been working with the web51 example and actually got it to say it sent a password to my email account but nothing ever came through.  I have checked my spam filter.

I have set EmailServer, Port, EmailFrom and hostaddress in the settings.ini file.  These are duplicated in the SendEmail procedure Accepted embed (except the host address).  I deleted the dssw5.tps file and got the message that I was adding a new user with supervisor level access when I tried the Create a Login tab.  It also gave a message about sending the password to the email address given.  Nothing has come to my email account.  The new user does appear in the secwin_operators.tps file, but i cannot use it to log in since I don't have the password.  When I try to add more new users I get the message "This user could not be added".  I can't get any further.  This is a C8 ABC app with NT6.14 and SW 6.03.

Thanks,

Jeff King

392
Web Server - Ask For Help / Re: NetTalk 6 with SecWin 6 problem
« on: January 15, 2012, 11:09:52 AM »
I found "SendEmailFromWebBrowser (11)" and think I now know how to set up my email parameters securely.  Now when I try to create a login I get an error that says "This user could not be added".  so it seems I still cannot add a user/operator to the security table.  Any thoughts on how to resolve this?

Thanks,

Jeff

393
Web Server - Ask For Help / Solved: Re: NetTalk 6 with SecWin 6 problem
« on: January 15, 2012, 10:55:28 AM »
I found I had added "user web login here" instead of "user login here".  Now compiles ok.

However, I need help setting up email so I can allow users to request password resets.  I will not be allowing users to set up their own accounts.  I will do that separately.  I see the GetSetting procedure and it seems to get email settings from an ini file.  This bothers me as the EmailAuthUser and EmailAuthPassword can be found here.  I need help setting this up to be secure.  Can anyone offer a tutorial?

In addition I find I can log into the system using demo/demo which has supervisory access.  But I cannot add any new operators/users.  This ocurrs for both my app and the demo app web51.

Thanks,

Jeff

394
Web Server - Ask For Help / Re: NetTalk 6 with SecWin 6 problem
« on: January 14, 2012, 09:23:35 PM »
Bruce2,

NT6.14 and SecWin 6.03

Jeff

395
Web Server - Ask For Help / NetTalk 6 with SecWin 6 problem
« on: January 14, 2012, 07:50:38 PM »
     I have a NT6 app created with the new wizard.  Works great, until I added SecWin 6.  Now I get errors that I can't resolve.  I have attached a screen shot showing the app and errors, it is in the webserver procedure.  Any thoughts on how to resolve this?

Thanks,

Jeff King

[attachment deleted by admin]

396
Web Server - Ask For Help / Re: Conditional filters
« on: January 11, 2012, 05:40:38 PM »
Bruce,

I found the problem.  In my condition I was using 'Spe:Pathologist' when I should have been using 'Pathologist'.  I typed it in correctly in my original post but not in my code!  Also, the session variable 'Pathologist' is a combination of the first and last name of the user logging in.  I was looking for 'Admin' which is the user name.  Sheesh!

Thanks for your help.

Jeff

397
Web Server - Ask For Help / Re: Conditional filters
« on: January 11, 2012, 05:19:56 PM »
Bruce,

Just double checked and the case is correct.  Still does not filter as expected.  I'll go back and add the <39> to see if that makes a difference like it did for my default filter.

Thanks,

Jeff

398
Web Server - Ask For Help / Conditional filters
« on: January 11, 2012, 10:03:33 AM »
   I'm trying to allow for an "Admin" user to see all items in a browse, and all other users to have the browse filtered based on the login name.  I created a conditional filter with the condition set as:

      p_web.GSV('Pathologist') <> 'Admin'

and the filter set as:

      'Spe:Pathologist=<39>'&p_web.GSV('Pathologist')&'<39>'


   When logging in as a typical (non Admin) user the filter works and the browse is filtered as expected.  However, logging in as "Admin" shows nothing in the browse.  I would expect the browse to essentially have no filter when Admin logs in.  Any thoughts on this?

Thanks,

Jeff King

399
Web Server - Ask For Help / Re: Copy Button
« on: January 10, 2012, 11:08:29 AM »
Thanks Bruce and Kevin,

Just to summarize, during a copy, I want to check a few fields to see if they have a certain value and notify the user, if they don't have the correct values.  I may also want to change/delete other field contents.

Thanks,

Jeff

400
Web Server - Ask For Help / Copy Button
« on: January 09, 2012, 01:21:39 PM »
I would like to intercept the copy button and check two fields before allowing the copy.  In the PreCopy embed I have the following:

  If UPPER(Spe:Path_Complete) = 'NO' OR Spe:Path_Complete = ''
      Case Message('Pathology not complete.|Please complete pathology before copying.', 'Warning', Icon:Exclamation, Button:OK, Button:OK, 1)
      Of Button:OK
           cycle
      End
  End

The compiler complains about the cycle statement, even though the help docs on Case Message show the use of cycle.  I have also tried break and return.  What is the proper way to stop the conditionally copy?

Thanks,

Jeff

401
Web Server - Ask For Help / Re: Browse filter
« on: January 06, 2012, 06:32:57 PM »
I found the solution in another post here.  The filter, as I had it might work for numeric values.  However, I'm using strings so I need the following:

'spe:Pathologist=<39>'&p_web.GSV('Pathologist')&'<39>'

Works great now!

Thanks

402
Web Server - Ask For Help / Browse filter
« on: January 06, 2012, 05:42:34 PM »
I have set the filter on a browse to the following:

         'spec:Pathologist = '&p_web.GSV('Pathologist')

The session variable 'Pathologist' is set in the embed code for the Login.  I find the browse is not being filtered.  Can anyone offer a suggestion?

Thanks

Pages: 1 ... 25 26 [27]