You need to sign in to do that
Don't have an account?

Showing Partner Account and Customer Account in two different tabs
Hi ,
In my organization we are heavily using customer portal and Partner portal. Inside the partner portal I need to show two tabs 1.Partner accounts(for viewing all the subsequent partners of current partner) and 2.Customer Accounts(for viewing all the subsequent customers of current partner). Can anyone suggest me how to achieve this ? If at all it can be done.
Thanking you
regards
Sarthak
you can query like this
]
String RecordTypeId1 = [select Name,Id from RecordType where Name = 'Test']
String RecordTypeId2 = [select Name,Id from RecordType where Name = 'Test1']
[select Name,Id from Account where RecordTypeId =: RecordTypeId1 ]
hi SJTECH2009,
thanks a lot for yor reply. Actually I did not want to write a lot of code for achieving this. So instead I created just two views one for partner and another for customer and putting filter on the "Type" field in accounts object.
Thanking you
regards
Sarthak