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

Component item ID in SQL field

8 Jahre 2 Wochen her #1423 von Sean Dooley
Component item ID in SQL field wurde erstellt von 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.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

6 Jahre 8 Monate her #1724 von Nicky Gernhardt
Nicky Gernhardt antwortete auf Component item ID in SQL field
Does anybody have an idea for that? Seems to be a nice feature I would also look for.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

6 Jahre 7 Monate her #1733 von Fran
Fran antwortete auf 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.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Ladezeit der Seite: 0.109 Sekunden
Powered by Kunena Forum

Wir verwenden eigene Cookies und Cookies von Drittanbietern, um Ihr Nutzererlebnis zu verbessern und Ihnen einen optimalen Service zu bieten. Wenn Sie die Website weiter nutzen, gehen wir davon aus, dass Sie mit unserer Cookie-Politik einverstanden sind.