Page 2 of 2

Re: View form without login screen

Posted: Fri Nov 09, 2018 5:25 am
by ARWEN
Thank you so much for you time. Somehow I still fail to understand how to accomplish these tasks with your example:
This link I send to a friend and he can open that record right away.
Or in a smilar manner: I have another crm where I insert links that point to some records in nuBuilder.
Or: to show a permalink viewtopic.php?f=15&t=8796&p=14966&hilit=permalink#p14966
Let me give you more details for the 3rd task (permalink).

This is my form with a copy button.
form - Kopie.png
Then there is a button with a copy to clipboard functionality. This will generate a url and copy the permalink to the clipboard.

Code: Select all

function btncopyclicked() {
  var url = 'http://mydomain/nuBuilder4/index.php?'+ 
                    'f=' + nuCurrentProperties.form_id + 
                    '&r=' + nuCurrentProperties.record_id;
  copytoclipboard(url);
}
Will this still work in the future? How to do this without the f + r parameters (that have been removed from wiki page) ?

Thank you for your efforts in advance!

Re: View form without login screen

Posted: Fri Nov 09, 2018 10:14 pm
by admin
Arwen,

f and r won't be coming back, (no matter how often you want to reference the wiki) so you'll have to find another way - you sound like a smart guy.

When a User logs in, they go to the Home Page of the Access Level they are on.

You can put Javascript on that Form you can open anything you like.


Steven

Re: View form without login screen

Posted: Sat Nov 10, 2018 9:07 am
by ARWEN
Thanks - it works as you suggested. (get url params, parse, remove params from url, open nuForm(). This all happens in the header/setup )

The only thing that is not so nice is that the launch screen is shown shortly bebfore the form that is passed in the url parameter, is displayed.


Is there any way to make it work better?

Re: View form without login screen

Posted: Mon Nov 12, 2018 10:26 pm
by admin
Arwen,

If you put a Run Object on the Home Page's Launch Form, you can directly see the Form and Record you want to access, mashed inside the Home Page without having to reload another Form.
u1.PNG
u2.PNG

Steven

Re: View form without login screen

Posted: Tue Nov 13, 2018 12:00 am
by ARWEN
Let's say there are two (or more) different form.

The direct link to form 1 would be:
http://nuBuilder/index.php?u=globeadmin ... ef33147a02

The direct link to form 2 would be:
http://nuBuilder/index.php?u=globeadmin ... ee31157a06

Your suggestion to "put a Run Object on the Home Page's Launch Form" would just work for 1 specific form, not any form. Wouldn't it?

Re: View form without login screen

Posted: Tue Nov 13, 2018 12:53 am
by admin
Arwen,

You need to create another Access Level if you want to display a different Form.


Steven

Re: View form without login screen

Posted: Thu Jan 09, 2020 4:15 pm
by jtoonen
Hello I tried all of the above and am able to get a demo user directly to a form (to enter data). However HOW do I get the user to the Browse/Search form for a Form such that he can enter a search criterium and see the record? Now I get the user to a launch form with one option being the table to be searched. However I would like to skip that extra step. What am I missing?
Thanks for your support / patience.

Jan Toonen

Re: View form without login screen

Posted: Thu Jan 09, 2020 6:45 pm
by kev1n
By passing an f parameter to index.php, it will take you to the Browse Screen of a Form. Replace 5dd0435cb26d2ac with your form id.

https://yourdomain/nuBuilder4/?f=5dd0435cb26d2ac

Re: View form without login screen

Posted: Fri Jan 10, 2020 3:23 pm
by jtoonen
Thanks, that was where I was looking for!!