You need to sign in to do that
Don't have an account?
Akis Athanasiadis
Bad Filter Id
I have created a visualforce page in order to create the activities tab.
I found through the "create new view" in calendar the ID:
https://cs84.salesforce.com/ui/list/FilterEditPage?ftype=z&retURL=%2F007%3Ffcf%3D00B58000004YXWq%26rolodexIndex%3D-1%26page%3D1
and I created the page by using this code:
<apex:page >
<apex:enhancedList listId="3D00B58000004YXW" height="600" customizable="false" rowsPerPage="25"/>
</apex:page>
Nevertheless, I receive a "bad filter id" message when I try to access the new tab
I found through the "create new view" in calendar the ID:
https://cs84.salesforce.com/ui/list/FilterEditPage?ftype=z&retURL=%2F007%3Ffcf%3D00B58000004YXWq%26rolodexIndex%3D-1%26page%3D1
and I created the page by using this code:
<apex:page >
<apex:enhancedList listId="3D00B58000004YXW" height="600" customizable="false" rowsPerPage="25"/>
</apex:page>
Nevertheless, I receive a "bad filter id" message when I try to access the new tab
I used the :
<apex:page> <apex:enhancedList type="Activity" height="600" customizable="true" rowsPerPage="25"/>
</apex:page>
That way i receive the activies page and I can create new views as well
All Answers
You need to pass the ID from the URL as shown below . not from the Page where you are creating list view. Use the below SOQL to get all the list view and pass it the listId
Select Id, Name from Listview
I don't know if I've done something wrong.
If I type :
<apex:page >
<apex:enhancedList listId="00B41000008koig" height="600" customizable="false" rowsPerPage="25"/>
</apex:page>
I get error message due to insufficient privileges. the problem is a result of the 00B41000008koig.
How do I find this ID. you mentioned previously "Use the below SOQL to get all the list view and pass it the listId"
Where do i use this query in order to find the ID?
I used the :
<apex:page> <apex:enhancedList type="Activity" height="600" customizable="true" rowsPerPage="25"/>
</apex:page>
That way i receive the activies page and I can create new views as well