I have a few links on my home page witch shows on tabs. Links looks like /a10/o(example). When i deploy my app from na24 to na34 when i click on that links show me message not enough privileges. When i look on same tab like in na24,they have different ids. In Na24 is a10/o in Na34 is a1k/o,what to do? i get this message.enter image description here

2 Answers 2


These initial three chars are object name of any custom object in your org. that is why they are different from one org to another. In your case you between NA24 and NA34.

You need to check profile permission for this object. You should have read permission on this object.

Go to Setup-> Users-> Profile -> Object Name

  • I do all permisons before,still same... Nov 24, 2015 at 13:41
  • as you are checking that object in NA34 you need to update your link with new created object chars that is a1k/o
    – Himanshu
    Nov 24, 2015 at 13:43
  • I cant change it cause its managed... Anyone else? Nov 24, 2015 at 15:44
  • You need to query for the object/record id and NOT hard code the id. You should really almost never hard code an id into code. This makes it org specific as ids can and will change from org to org. To get only the object id query for a record of that type and substring the first three chars to build your url. Nov 24, 2015 at 17:22

As suggested by other members, ids are org-specific - you should rely on something more robust for your logic, otherwise it can also get way too complex to maintain.

Also a reminder that read permissions for the given object can be given through various approaches:

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .