• Required reading for all forum users!!!

    Welcome!
    Register to access the full functionality of the GSResources forum. Until you register and activate your account you will not have full forum access, nor will you be able to post or reply to messages.

    A note to new registrants...
    All new forum registrations must be activated via email before you have full access to the forum.

    A Special Note about Email accounts!
    DO NOT SIGN UP USING hotmail, outlook, gmx, sbcglobal, att, bellsouth or email.com. They delete our forum signup emails.

    A note to old forum members...
    I receive numerous requests from people who can no longer log in because their accounts were deleted. As mentioned in the forum FAQ, user accounts are deleted if you haven't logged in for the past 6 months. If you can't log in, then create a new forum account. If you don't get an error message, then check your email account for an activation message. If you get a message stating that the email address is already in use, then your account still exists so follow the instructions in the forum FAQ for resetting your password.

    Have you forgotten your password or have a new email address? Then read the forum FAQ for details on how to reset it.

    Any email requests for "can't log in anymore" problems or "lost my password" problems will be deleted. Read the forum FAQ and follow the instructions there - that's what we have one for...

  • Returning Visitors

    If you are a returning visitor who never received your confirmation email, then odds are your email provider is blockinig emails from our server. The only thing that can be done to get around this is you will have to try creating another forum account using an email address from another domain.

    If you are a returning visitor to the forum and can't log in using your old forum name and password but used to be able to then chances are your account is deleted. Purges of the databases are done regularly. You will have to create a new forum account and you should be all set.

Named queries for module developers

  • Thread starter Thread starter joeclark
  • Start date Start date
J

joeclark

Guest
The 7.9.4 beta 1 is up as of today. The focus of this release is security, and one of the new features that can affect module developers is named queries.


Named queries are a way to define database queries in advance, so that clients can't run random queries. An added benefit is that queries become easy to reuse throughout your project.


As a module developer, here's what you need to know about named queries:


Clients may or may not have legacy db access enabled. If they don't, the client is restricted to only using named queries. Your module needs to handle this gracefully. (If legacy db access is disabled, things like tag history, transaction groups and alarm history will still work, because those queries are predefined.)
The API for report datasources has changed slightly. If you have written a custom datasource in your module, you can probably use null for the new argument.
If your module has a panel for authoring db queries, similar to the component binding panel in Vision, you will need to also accommodate named queries.




I didn't find the right solution from the Internet.


References:
https://forum.inductiveautomation.com/t/named-queries-for-module-developers/14524


3D Animation Agency Example
 
The 7.9.4 beta 1 is up as of today. The focus of this release is security, and one of the new features that can affect module developers is named queries.


Named queries are a way to define database queries in advance, so that clients can't run random queries. An added benefit is that queries become easy to reuse throughout your project.


As a module developer, here's what you need to know about named queries:


Clients may or may not have legacy db access enabled. If they don't, the client is restricted to only using named queries. Your module needs to handle this gracefully. (If legacy db access is disabled, things like tag history, transaction groups and alarm history will still work, because those queries are predefined.)
The API for report datasources has changed slightly. If you have written a custom datasource in your module, you can probably use null for the new argument.
If your module has a panel for authoring db queries, similar to the component binding panel in Vision, you will need to also accommodate named queries.




I didn't find the right solution from the Internet.


References:
https://forum.inductiveautomation.com/t/named-queries-for-module-developers/14524


3D Animation Agency Example

Maybe try a different forum. LOL.
 
First I was disappointed that Joe Clark wasn't a Canadian member...

second, "Joe Clark" has posted a few times about his BMW GS and hasn't clued in that this is a Suzuki site.


I'm voting spambot...
 
"He" might have some human qualities, but all of his few posts have a line saying "I didn't find the right solution from the Internet.", then gives a link to a BMW forum.

His bike is a BMW R1200GS, he probably did a search for "GS forum" and found us.

He also has "USA" as his location, but talks about riding in the sand near his home in Australia. :-k

.
 
idk .. strange indeed.
Human or bot, this is a clear case of Freudian need to be converted
and belong to the right GS group so let's welcome this entity to our herd :biggrin-new:
 
idk .. strange indeed.
Human or bot, this is a clear case of Freudian need to be converted
and belong to the right GS group so let's welcome this entity to our herd :biggrin-new:

I don't know, he sounds pretty dysfunctional. Oh wait ...he'll fit right in.
 
I'm going to give credit where credit is due...
This post was actually done by the genius Kathy Applebaum in anothe forum.
joeclark must be a wannabe.

Still over my head.
 
spam.jpg
 
Bot

Bot

Bot

BOT

BBOOOOOOOOTTT


(and I suggest not going to the links).
 
Back
Top