Code Garden 2017 Umbrangular. - Details View VS Edit View
Hi Guys,
I am working on a project that is going to require a custom section and tree in the back office. After a bit of research I found a brilliant talk from Code garden 2017.
I have managed to create a custom tree and section.
When I click one of the nodes in my custom tree, my edit view loads sucsessfully and I can save the name of the node back to my custom database.
However when I click away and then click another node or the same node in the custom tree I get a 404 error becuase Umbraco is looking for the details view for that node. (I haven't created it yet)
What I want to know is two things.
In regards to the Umbrangular sample project, what is the point of the details view, why do you need a details view and an edit view?
At the moment, the first time I go to the custom section click a custom node, change the name, it is saved successfully to the database.....BUT......
A. The custom tree does not refresh, if I reload the page then it displays the new name. How can I tell umbraco to reload the tree?
B. If I try and go to another section after I have saved, I get the umbraco warning asking for me if I want to disgard changes, even though the changes have already been saved. Why is this happening?
Code Garden 2017 Umbrangular. - Details View VS Edit View
Hi Guys,
I am working on a project that is going to require a custom section and tree in the back office. After a bit of research I found a brilliant talk from Code garden 2017.
So I downloaded the code here: https://github.com/umbraco/umbrangular
I have managed to create a custom tree and section.
When I click one of the nodes in my custom tree, my edit view loads sucsessfully and I can save the name of the node back to my custom database.
However when I click away and then click another node or the same node in the custom tree I get a 404 error becuase Umbraco is looking for the details view for that node. (I haven't created it yet)
What I want to know is two things.
In regards to the Umbrangular sample project, what is the point of the details view, why do you need a details view and an edit view?
At the moment, the first time I go to the custom section click a custom node, change the name, it is saved successfully to the database.....BUT......
A. The custom tree does not refresh, if I reload the page then it displays the new name. How can I tell umbraco to reload the tree?
B. If I try and go to another section after I have saved, I get the umbraco warning asking for me if I want to disgard changes, even though the changes have already been saved. Why is this happening?
Thanks In advance.
is working on a reply...