Select to view content in your preferred language

Lock mxd ?

2830
9
Jump to solution
03-02-2017 12:22 PM
PROBERT68
Honored Contributor

Dan Patterson‌, Darren Wiens and others ???

Is there a way around for me or my supervisor to lock the mxd to prevent from other user to  messed up the ArcMap mxd we worked on ? I worked on a lot of map books and when I review the PDF  and I found that  the mxd map scale and the PDF map scale do not match. I was just wondering if we could lock the mxd ? I googled it but it is so many different approach to that.

Any suggesting to that ?  Can be done in manually, or write a code ,etc

Thanks !

0 Kudos
1 Solution

Accepted Solutions
DarrenWiens2
MVP Honored Contributor

What exactly do you mean by "lock"? For example, you can set an mxd file to read only through file explorer to disallow other users from saving over it. Or, do you mean you want to disallow a user from making any changes to an open mxd (I doubt that's completely possible)?

If you export the data driven pages to PDF, is the scale correct, or are the data driven page extents not set correctly?

I'll add, my current solution to making sure no one edits my maps is that I've got a completely separate drive to house all GIS data/maps, but I'm almost a one-person GIS department.

View solution in original post

9 Replies
DarrenWiens2
MVP Honored Contributor

What exactly do you mean by "lock"? For example, you can set an mxd file to read only through file explorer to disallow other users from saving over it. Or, do you mean you want to disallow a user from making any changes to an open mxd (I doubt that's completely possible)?

If you export the data driven pages to PDF, is the scale correct, or are the data driven page extents not set correctly?

I'll add, my current solution to making sure no one edits my maps is that I've got a completely separate drive to house all GIS data/maps, but I'm almost a one-person GIS department.

PROBERT68
Honored Contributor

I really do not know if it was through the Data Driven Pages to PDF, or by export to PDF from each ArcMap. It was dated in 2016.

"lock"  to lock the MXD to prevent someone making any change in it.

0 Kudos
PROBERT68
Honored Contributor

Found out why the MXD and PDF map scale do not match. It is because when you have two Data Frames in ArcMap. When you set a new data frame it becomes activated and that is what it sets the map scale bar to the Layout. You would need to double check with the Map Scale at the Standard toolbar and ensure your Layers set to activate.

0 Kudos
AbdullahAnter
Honored Contributor

Do you want to lock scale and extent of map or lock MXD?

0 Kudos
PROBERT68
Honored Contributor

No, the mxd itself.

0 Kudos
AbdullahAnter
Honored Contributor

As Darren Wiens Champion 

you can set an mxd file to read only through file explorer to disallow other users from saving over it.

an open your PC with any user expect administrator user.

or save a backup copy.

0 Kudos
DanPatterson_Retired
MVP Emeritus

short of windows file attributes changes... which can be changed by anyone under 12 ... Keep a copy of just the mxd immediately after you have saved it to a backup drive, usb drive, the cloud, whatever.  Use your operating system to copy the mxd, don't save as or save to.  Then if you find any changes that aren't yours, close arcmap, move the errant mxd and substitute with your own and restart.

0 Kudos
PROBERT68
Honored Contributor

Another thing you could do is open the Windows Explorer and change the View to Details. Add the column to "Owner" so you know who made the changes etc... So that is for Windows 7 but you should be able to do this if you have Windows 8 or later.

0 Kudos
DanPatterson_Retired
MVP Emeritus

but a safely saved original can't be messed with by anyone as even Darren points out

0 Kudos