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.
391
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
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
392
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
NT6.14 and SecWin 6.03
Jeff
393
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]
Thanks,
Jeff King
[attachment deleted by admin]
394
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
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
395
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
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
396
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
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
397
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
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
398
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
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
399
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
'spe:Pathologist=<39>'&p_web.GSV('Pathologist')&'<39>'
Works great now!
Thanks
400
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
'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