Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. Map<String, String> values = new Map<String, String>();
  2.  
  3. for(PicklistEntry value: Schema.Object__Share.RowCause.getDescribe().getPicklistValues()) {
  4. values.put(value.getLabel(), value.getValue());
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement