You need to sign in to do that
Don't have an account?
Regarding Pop-Up or Custom Look-Up
Hi Guys,
Im very new to salesforce, I'm facing issue in displaying a pop-up below i have given my question, kindly let me know in case of any further clarification if question is not very clear.
I would like to have a pop-up (like a look-up) feature for a custom object in visualforce page when we click on lookup image, but it should have my own defined column. I tried to refer many examples but I couldn’t find right one.
For example, if we take an account object I would like to have my preferred column (not giving like this <apex:inputField value="{!acc.ownerid}" /> this will give only the account subject to the owner id ) here I would like to have all the Account Name and Account Site. The Account Name should have a link and if the user click Account Name the value should be placed in the Text Field.
Regards,
Arun
http://blog.jeffdouglas.com/2011/08/12/roll-your-own-salesforce-lookup-popup-window/
Thanks Kiran for posting a good link.
However this solution will not solve my issue as i said (<apex:inputField id="Account" value="{!contact.AccountId}" />) i don't want to have an id in the value attribute and my object dosen't have any id and it is autogenerated by salesforce. My Object has only 5 set of columns(Type, Key1, Key2, Text, data1 & data2), which holds 700 records. I need to have the two column values(data1, Text) in the lookup based on the type with page navigation. I can write even the query but how page navigation can be done, since even though we have tags such <apex:enchancedList> or <apex:detailList>. KIndly let me know if my understanding is wrong or not able to understand my requriement.
Something similar below
_______________________________________
| <<Window Title>> |X| |
_______________________________________
| <<Page Size>> |
|______________________________________ |
| Data 1 <<Column 1>> | Text <<Column 2>> |
|______________________________________ |
| Data 1 Value | Description |
|______________________________________
| Data 1 Value | Description |
______________________________________
Regards,
Arun
Guys, Kindly let me know if you are not able to understand my question.
Thanks advance for the answer
Arun