×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Component item ID in SQL field
Sean Dooley
Nieuw lid
Posts: 2
8 jaren 2 maanden geleden #1423
door Sean Dooley
Component item ID in SQL field werd gestart door Sean Dooley
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.
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.
Gelieve Inloggen of een account aanmaken om deel te nemen aan het gesprek.
Nicky Gernhardt
Nieuw lid
Posts: 1
6 jaren 10 maanden geleden #1724
door Nicky Gernhardt
Beantwoord door Nicky Gernhardt in topic Component item ID in SQL field
Does anybody have an idea for that? Seems to be a nice feature I would also look for.
Gelieve Inloggen of een account aanmaken om deel te nemen aan het gesprek.
Fran
Nieuw lid
Posts: 5
6 jaren 9 maanden geleden #1733
door Fran
Beantwoord door Fran in topic 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.
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.
Gelieve Inloggen of een account aanmaken om deel te nemen aan het gesprek.
Tijd voor maken pagina: 0.051 seconden