languid Posted August 17, 2009 Posted August 17, 2009 Hello, newbie here. I am making a small customer relationship program (CRM) whch will be accessible by two or three salespeople via Instant Web Publishing. Everything is going great so far--I can relate different tasks/meetings etc to the appropriate salespeople, as well as to management. However, what do I need to put in the file opening script so that Mary only sees her tasks when she logs on, and Joe only sees his tasks? At the moment, everyone's tasks come up, company wide. (I don't think this is record level access--or is it?). Sorry if you're having to repeat same old stuff
Peter (duksis3) Posted August 17, 2009 Posted August 17, 2009 Hi, Use Access privileges: Record access - view: custom, calculation Get ( AccountName ) = Account name
Peter (duksis3) Posted August 17, 2009 Posted August 17, 2009 Hi, again, Sorry - I have write necessary: You must create field "Account name" - you as manager must write there (use drop-down-list or pop-up menu to avoid account name for each record - assign to account. And then use calculation Get(AccountName) = Account name
Steven H. Blackwell Posted August 18, 2009 Posted August 18, 2009 No, this is not correct. The Account Name should be entered into a field automatically when the record is created. The field definition options provide for this. Make that field non-modifiable in the Manage Accounts & Privileges area to reduce tampering possibilities. Then, in the same area, set records to be able to be viewed when the value in the auto-entered field matches the current active Account. Steven
Mark Jones Posted September 29, 2010 Posted September 29, 2010 Great tips and info. This has been a lot of fun getting to know this part of Filemaker. Now to automate the script that only shows the records created by the record creator. I have the script but haven't figured out how to get it to be automatic when they log in. More fun to discover. Thanks to all of you for your help by posting to these other folks. Mark Jones
Mark Jones Posted September 29, 2010 Posted September 29, 2010 Ok. I tried the script triggers but I don't think they will work on IWP windows. File options run script only works on first time file is opened so that won't work for me as the file is already open when available on the web. Any ideas? The script button I have works great. What I don't like to see is the no NO ACCESS records until they push the button to find the records they created. Mark Jones
Mark Jones Posted September 30, 2010 Posted September 30, 2010 Any ideas on upon entering the IWP after Account Name and Password to run a script that only finds the records that they created? I have the script but can't seem to grasp how to trigger it without user clicking on the button. Mark Jones
Recommended Posts
This topic is 5166 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now