You need to sign in to do that
Don't have an account?
ekarthik
retrive standard user object value in custom object query OR 2 action method in single repeat
I need to get several fields from user created custom object , from that example
getting values using
select id, name, createdbyid from project_task__c
From this i need to get
select smalllphotourl from user where id=:createdbyid
these results needs to be placed with in a repeat .
how can i process?
i tried both query within one quuery but unable to get standard object value in custom object query...
and i am unable to get two action methods with in a single repeat .. how to process .
http://boards.developerforce.com/t5/Schema-Development/access-get-Standard-object-value-with-user-custom-object/m-p/600411#M845
Hope it make sense.
Cheers
Hi
Query on two obejcts together in single query depends on relationship between both. here you dont mention relation ship between User object and Project Task object so here I am giving an example
if X and Y two objects are there
Y is parent of X then
[Select id ,( Select id from X__r ) from Y ] is possible
here we can fetch some other field along with id
Please share relation ship so I can help more
Please give me KUDOS if this sugegstion meet your query. and mark this answer as solution to make it available for other user for close enough query.