This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
A picture explains what I'm trying to do more than trying to explain it in text would: http://i.imgur.com/m8OnQZ7.png
Basically, I'm trying to make a page where the user can select a field (going to be on the opportunity object), and say what it shouldn't be equal to. I built a batch earlier that takes opps of a certain type, and creates transactions (a custom object we've built) from them. However, I want the user to be able to go to this page and say "Okay, if an opp has insert field equal to insert value then I don't want it to be added on the next batch run."
The batch already does a lot of querying of different maps (I had to make it so that it would run dynamically on anyone's Salesforce that has our app installed). I'm hoping I can setup this page so that when they determine what should prevent an opp from going in, it can save those rules to either a custom setting or a field, and my batch can look those up along with everything else and take it from there.
I'm completely new to visualforce and javascript, though. I know APEX really well, but this part is new to me. I just can't figure out how to get a picklist of every field name in an object, like the picture above. Any ideas for me?
Subreddit
Post Details
- Posted
- 11 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/salesforce/...