This topic is locked

Copy a View that You already created

12/13/2008 6:11:00 PM
PHPRunner General questions
H
horsey_kim author

I am using customize views. Is there a way to copy a custom view without having to create another one. The deal is I have about 6 levels of access and each actually use very similar views, with basically the only difference being in what they can pick to put in a field. For example: One might get get to do: open, close, history - yet for that same field another person can only choose: close, history, file, report for that same field. So with the 6 levels and 10 custom views for each level I am looking at 60 custom views! It is a pain, because they are almost all exactly the same, except for what I allow for that level to edit in one or two fields.
PLEASE let there be an way around this. I did try creating a picklist database and it would check what their level of access was in order to determine what they could select, I thought it was going to work great, but because their might be two different fields for each record, if they did not have to edit one of the records, when they went to save it would wipe out the correct information of the record that was okay to leave.
SURE could use a Copy View button on the Datasource tables that would copy every thing about that view, including events and layout and such.

T
thesofa 12/14/2008

Have you tried going to the security tab in PHPR?

Use Advanced permissions to allocate user groups their rights.

H
horsey_kim author 12/15/2008

Have you tried going to the security tab in PHPR?

Use Advanced permissions to allocate user groups their rights.


Thanks for the suggestion, but it does not have to do with the permission to the person has to that table. It is about how each person/group has a different choice for that field. Because their might be 6 groups that each GROUP has a set of different choices for the 1 same field. So I have to make 6 screens the same but only change what that one field choices are. Hence I have had to create 6 screens of almost the same thing.
If I create a lookup field of choices based on their group id, then if I do the inline edit - it wipes out the original value of the field that maybe some other level put it in, because they don't have that choice in their list of choices.
Another reason for a way to copy views and all their settings, is maybe you just need to tweak a couple fields, change a couple things in the layout. What is really takes time is if you have many events too. Instead of spending hours creating everything over again, it be nice to copy and just edit what you need changed.

J
Jane 12/15/2008

Hi,
as workaround open project file in any text editor and copy code for each view manually.

H
horsey_kim author 1/1/2009

Thanks. I probably did not explain myself very well. Sorry,
This be cool for upgrade:
It be nice to be able to copy a view and it copy everything, queary, fields, pages, layout, labels, visual codes, event codes (every setting) - then you just go in and make a few clicks to change what you need. It would save so much time! It would be a blessing indeed! Something I would desire the most from PHP Runner. Right now everytime I need to make a new view that is almost the exact same thing as a different view, it takes forever. Because I have to still go thru each step and it is clearly the same view, but with a few changes.
Maybe I missed something in your workaround.

S
swanside 1/1/2009

In datasource tables you can click on the custom view you have made and select create custom view, that will make a copy of what you have. Not too sure thats what your after, but if it helps anyway.

H
horsey_kim author 1/5/2009

Thanks <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=36450&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />
I am actually after making a view of an already custom view. Plus have it also copy all the modified pages in the visual editor. Every setting be exactly the same thru every step. Then I just can change one or two items and it is done. I know it sounds silly, but it really would save me huge amounts of time.