× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Component item ID in SQL field

8 года 2 мес. назад #1423 от Sean Dooley
Sean Dooley создал тему: Component item ID in SQL field
Is it possible in an SQL field to include the current component item ID in the SQL query? For example, I would like to display a list of Employees assigned to a Business

SELECT * FROM _cc_employees e
WHERE e.business_id = [current business id]

[current business id] would be replace with the ID of the current item.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

6 года 10 мес. назад #1724 от Nicky Gernhardt
Nicky Gernhardt ответил в теме Component item ID in SQL field
Does anybody have an idea for that? Seems to be a nice feature I would also look for.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

6 года 9 мес. назад #1733 от Fran
Fran ответил в теме Component item ID in SQL field
Hello Sean,

It is not currently possible to do this in Component Creator. You could easily do it by modifying the code generated for your component.

Thank you for pointing this out, we are going to investigate whether it's a possible future as it sounds like a good improvement to Component Creator.

Regards.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Время создания страницы: 0.048 секунд
Работает на Kunena форум

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.