So let me understand this - if I inadvertently add a link to the wrong page, that link cannot be edited and to delete the link means the entire page and view on it are consigned to history?
Is there no way to just delete the link or edit where it points? I just lost a load of work because of this. Very obvious massive design flaw.
Hi Gents,
For some reason I didn't see this until now as this problem nearly reared its head again. I have a much better grasp of it all so thank you for adding to the topic and leaving this solution here for me! :)
Mark
Mark,
The other possible approach when you need to delete a link to a scene is to first create a new similar-object scene elsewhere in the app and then Copy the views you've created to the new scene, saving the work you've done on those views. Then delete the link/scene.
As Ron points out above, if you remove a link in a table to an object that is actually stored under another scene (originally created with Link to Another Page), the scene won't be actually removed. However, Knack still gives you the warning that it will be - very nerve-wracking!
Eric
Hi Robert - no the same logins (or appropriate ones) for each of the page logins. If a user tries to access a page they don't have access to results in a login page plus 'you need permission to access...' message and this works just fine for us.
Hey Brad,
I have done something similar due to past mistakes and not having to update multiple add/edit pages. Do you actually add a fake User Role with the object name as a user role so that you can filter the pages down in the builder?
That's a solid idea. That helps to clarify and hone my method.
Thanks!
Good advice Ron and we've settled on a similar schema in design for almost this very reason: connect-ability with other views and maintainability, especially as our apps grow in size and complexity.
- For each main object in our Knack app there's a separate page with it's own login.
- Depending on the object, the main view is often a table that's focused with filters.
- An edit form is connected to each record.
- A menu is added with a create record as the first menu item.
Mark,
You can create an independent page for editing a record then add a Link from your Table column. The form can then be linked to as many 'same Object' Tables, Lists, etc. as needed. If you delete the Table, the Form will remain.
- First Click add a Page.
- Select Blank Page.
- Name it. (example DogListObject Search)
- Next add a 'Search' View to that page for the Object that you want.
- A Search Page will create a 'result Table'. Add an 'Edit' link to a column in the Search Results Table.
- This Edit will be your independent form. (example name DogListObject Edit Form)
- After the Form is created, you can go back to your original Table and add a column link 'Link to Another Page'. (with the same Object). The Form should be in the Drop Down list when adding 'Link to Another Page'. The link should appear as DogListObject Search>DogListObject Edit Form.