You need to sign in to do that
Don't have an account?
Tom Blamire 24
visualforce record select from junction object
Hi,
Noob to VF and sutck.
I have a custom object called Hashtags(Hashtags__c) and then a junction object called Account Hashtags which has 2 fields - the account name and hashtag name. What i am trying to achieve is that when a user clicks new on the Account hashtags i want something to a list view whereby they can select multiple records (base on record type = Active) and they have it save back to the account.
I tried creating custom controllers but failed straight away - can someone please help?
Noob to VF and sutck.
I have a custom object called Hashtags(Hashtags__c) and then a junction object called Account Hashtags which has 2 fields - the account name and hashtag name. What i am trying to achieve is that when a user clicks new on the Account hashtags i want something to a list view whereby they can select multiple records (base on record type = Active) and they have it save back to the account.
I tried creating custom controllers but failed straight away - can someone please help?
This visualforce page/controller will want to extend the Hashtag object and will probably initially look something like this:
your controller extenstion will probs be a bit like this (with a lot more work, obviously - this is hand typed/non compiling!)
Hopefully that's a good starter for you? I don't have the 12 spare hours before Christmas to code the whole solution for ya ;)
Bob, tried creating these but getting compile errors on line 3 of the extension - any ideas?
Ah yes, line 3 has a couple of problems for a compiler.. namely it doesn't have a type
I suspect there are a lot more compiler problems in that pseudo-code that are going to get in your way (and indeed the completion of the code which I have scattered around in comments (such as using the StandardSetController) is fairly complex stuff. There is lots of help out there (including this forum). So I do wish you luck! Hopefully the approach I am advocating is the best one in this situation ;)