Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.databases.filemaker > #893
| From | ~consul <consul@dolphinsTAKEAWAY-cove.com> |
|---|---|
| Newsgroups | comp.databases.filemaker |
| Subject | Re: cdml - username goes to specific layout |
| Date | 2012-06-14 11:37 -0700 |
| Organization | the dolphins-cove |
| Message-ID | <jrdb1i$kts$1@gist.usc.edu> (permalink) |
| References | <jrd6j5$iud$1@gist.usc.edu> |
'tis on this 6/14/2012 10:21 AM, wrote ~consul thus to say: > Is there a way for the cdml to have 1 user go to one particular layout only? > My office is trying to work out online applications. > Right now, the database is internal where the staff have their own usernames and passwords, but when we start doing signups, the public will have 1 username and 1 password just so they can login and apply. > > I could hide the Staff link so the public doesn't go that layout, but that seems inelegant. > > I found this online but I don't know where to put it or activate it. I want it in the Staff Page so someone who enters the Signups username/password gets shunted to another page. > > [FMP-If: CurrentUser .eq. JEPSTUDENT] > [FMP-Include: jepStudentApplication.htm] > [FMP-Else] > [FMP-Include: somewhereelse.htm] > [/FMP-If] Figured it out, and evidently, I had to use "ClientUserName", not CurrentUser and it worked. And the scripts just go up top, I didn't have to enclose it in anything. Luckily the script went into the cdml file that is protected by filemaker so folks can't see it and circumvent it. -- "... respect, all good works are not done by only good folk. For here, at the end of all things, we shall do what needs to be done." --till next time, consul -x- <<poetry.dolphins-cove.com>>
Back to comp.databases.filemaker | Previous | Next — Previous in thread | Find similar
cdml - username goes to specific layout ~consul <consul@dolphinsTAKEAWAY-cove.com> - 2012-06-14 10:21 -0700 Re: cdml - username goes to specific layout ~consul <consul@dolphinsTAKEAWAY-cove.com> - 2012-06-14 11:37 -0700
csiph-web