Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal Filter Statement, expecting a colon, found <EOF> #11

Open
disasterlooms opened this issue May 6, 2015 · 4 comments
Open

Illegal Filter Statement, expecting a colon, found <EOF> #11

disasterlooms opened this issue May 6, 2015 · 4 comments

Comments

@disasterlooms
Copy link

This application has a lot of great implications. Got past the user profile issues by using eclipse and deploying everything but the universal profile. Now stuck on this filter issue. I tried a few things with no luck, any help would be greatly appreciated.

I am a newbie and would like a nudge in the right direction if possible.

The full statement reads:
"Illegal Filter Statement, expecting a colon, found 'SOQL" SELECT Id FROM Contact WHERE AccountID=(please contact your administrator)

Thanks

@workinglouder
Copy link

In the visualforce code you will find a line like this
filter="AccountId = {!Account.Id}"

Replace with
filter="AccountId = '{!Account.Id}'"

Basically replace the symbol ` (left of the 1 key on a keyboard with an apostrophe ' )

Not sure why there is the wrong symbol with the example code on GitHub but that's what's doing it.

@rsoesemann
Copy link
Owner

Are you talking about the https://github.com/Up2Go/visualforce-table-grid/blob/master/src/pages/tableGridRelatedList.page? For me everything looks ok there?!

@workinglouder
Copy link

Hi

Sorry I know this was a while ago. I've attached a screenshot what I'm referring to. It's not something in the codded files itself (might be there as well if the snippets are pulled from it) its in a snippet on the GitHub page.

symbol error

@rsoesemann
Copy link
Owner

@disasterlooms could you solve this? Would you mind merging you solution back?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants