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.
106
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
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
107
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]
108
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
109
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
110
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