There is something driving me crazy.
I'm building a Launch Form to use it as a GUEST contact form to embed on a website. I added 3 fields and now I want to add a Run button to call a procedure and create the record in database.
My issue is the procedure don't appears in the list. I compared to other procedure I created yesterday, and is configured the same way, but one appears, and other not.
The 2 procs.
Now I go to my form. Add a Run object, and when try to choose my procedure.
I tried seting the form where should be launched in the procedure, permissiosn, set it as global access...nothing, don't appears. Probably is something silly, but I don't see it.
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Conditions to procedure be choosed
Conditions to procedure be choosed
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Conditions to procedure be choosed
The procedure picker form uses the view zzzzsys_run_list. Make sure there is a view called "zzzzsys_run_list" and not a table.
Run this SQL on your DB:
Run this SQL on your DB:
Code: Select all
DROP TABLE IF EXISTS `zzzzsys_run_list`;
CREATE ALGORITHM=UNDEFINED SQL SECURITY DEFINER VIEW `zzzzsys_run_list` AS SELECT `zzzzsys_form`.`zzzzsys_form_id` AS `id`, 'Form' AS `run`, `zzzzsys_form`.`sfo_code` AS `code`, `zzzzsys_form`.`sfo_description` AS `description` FROM `zzzzsys_form` union select `zzzzsys_report`.`zzzzsys_report_id` AS `id`,'Report' AS `run`,`zzzzsys_report`.`sre_code` AS `code`,`zzzzsys_report`.`sre_description` AS `description` from `zzzzsys_report` union select `zzzzsys_php`.`zzzzsys_php_id` AS `id`,'Procedure' AS `run`,`zzzzsys_php`.`sph_code` AS `code`,`zzzzsys_php`.`sph_description` AS `description` from `zzzzsys_php` where (`zzzzsys_php`.`sph_system` <> 1) order by `code` ;
Re: Conditions to procedure be choosed
Oh, if it's a view im sure doesn't exists. Import gave me problems with views. Where is hosted seems doesn't support it, but I readed nubuilder detects and create a table instead.
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Conditions to procedure be choosed
If you log out and log in again, this table should be updated.
Re: Conditions to procedure be choosed
Uhmm, I think I did it, but will try when come back to computer, thanks.
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Conditions to procedure be choosed
I think it worked but once I deleted the table. Will investigate if table is not repopulated or what. Thanks