Hello everyone.
I have two tables, subjects and slides that are linked by a single field. I've made a few web components to display and edit the rows in these tables. I have a component to add a new row to the slide table, and I'd like to make a link from the subject edit page to the new slide page and have the new slide page have the linking field (call it subject_number) already populated. Ideally the user wouldn't be able to modify the subject_number on the new slide page, but the other fields would be modifiable. The problem is that I can't seem to get alpha 5's link expression to work.
The subject_edit grid component has the subjects table as its source. I've added a calculated field just for the purposes of having an "add slide" link. That field has a fixed value of "Add Slide", and the field type is set to Link with the following URL:
slide_new.a5w?slide_new_link_1C=Subject_Number={Subject_Number}
When I publish all of this, view a subject through the subject_edit page and click "Add Slide", the slide_new page loads but everything is blank; the Subject_Number isn't filled in. The slide_new page works if I manually type in the Subject_Number. Is there something wrong with my tables, components or pages? The link syntax seems correct.
Thanks for your help
-Chris
I have two tables, subjects and slides that are linked by a single field. I've made a few web components to display and edit the rows in these tables. I have a component to add a new row to the slide table, and I'd like to make a link from the subject edit page to the new slide page and have the new slide page have the linking field (call it subject_number) already populated. Ideally the user wouldn't be able to modify the subject_number on the new slide page, but the other fields would be modifiable. The problem is that I can't seem to get alpha 5's link expression to work.
The subject_edit grid component has the subjects table as its source. I've added a calculated field just for the purposes of having an "add slide" link. That field has a fixed value of "Add Slide", and the field type is set to Link with the following URL:
slide_new.a5w?slide_new_link_1C=Subject_Number={Subject_Number}
When I publish all of this, view a subject through the subject_edit page and click "Add Slide", the slide_new page loads but everything is blank; the Subject_Number isn't filled in. The slide_new page works if I manually type in the Subject_Number. Is there something wrong with my tables, components or pages? The link syntax seems correct.
Thanks for your help
-Chris
Comment