on 11-18-2010 9:42 AM
Hi,
I have a little problem with an newly created custom attribute. This attribute has presentation SingleSelect and the attribute values should be selected via an SQL query. So far so good.
This attribute is displayed in a WET. When I open these WET I get an error messages with the following text: Could not expand values for attribute <ATTRIBUTE NAME>.
The used SQL query
SELECT distinct REP_NAME
FROM MC_REPOSITORY
WHERE REP_NAME is not null and (LENGTH(REP_NAME) = 6)
When we use the following SQL Query everything works fine.
SELECT distinct avalue
FROM MXIV_ENTRIES
WHERE attrname='ACCOUNTADS'
My problem now is that I don't understand why my query from MC_REPOSITORY doesn't work but the other works fine.
Best regards
Lars
Lars,
It has been my experience that when the UI throws that error on a SQL Query lookup when it doesn't have the appropriate rights to the table. I checked our installation, and the mxmc_prov user doesn't have the select permission on our MC_REPOSITORY SQL table. If this is the case, you'd just have to add the permissions to the table.
Hope that helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lars
Jared is right. The user *_prov user doesn't have right to this table.
But there is a view which works.
If you don't find it, tell me and I have a look again tomorrow
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.