I can already do functionalci filter based on user with profile/permission, I want to ask if functionalci can be filtered by service?
so when I select a service for example:
Install the application on the server, then the functionalCI will automatically display several servers that I have arranged based on service,
can it be done?
Last edit: barakbar 2021-02-18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
<classid="FunctionalCI"><scopes><scopeid="all"><oql_view><![CDATA[SELECT FunctionalCI AS ci JOIN lnkFunctionalCIToService AS s1 ON s1.functionalci_id = ci.id JOIN lnkFunctionalCIToTicket AS s2 ON s2.functionalci_id = ci.id WHERE s1.service_id=:current_service->org_id]]></oql_view></scope>
but instead an error appeared, and my iTop portal didn't display the error text :(
can anyone help?
Hello,
Not sure to understand what the question is, can you rephrase please ? For now I suppose you want that when creating a ticket, the add FunctionalCI dialog be filtered depending on the service selected ? I am right ?
If so you should take a look at the Prefill API
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've tried prefill api but it automatically fills in the functionalci section, can I select it manually? but the functionalci in the service are selected?
Thanks for the clarification.
The prefill API is the answer... but this would be PrefillSearchForm method instead ! See the example in the page I linked before.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hii, Pierre
I've tried the Prefill Search Form but nothing happened when I made a ticket on the portal And when I select the functionalci from the portal it appears instead all the functionalci that I have entered in itop, this is my code:
Hii,
I can already do functionalci filter based on user with profile/permission, I want to ask if functionalci can be filtered by service?
so when I select a service for example:
Install the application on the server, then the functionalCI will automatically display several servers that I have arranged based on service,
can it be done?
Last edit: barakbar 2021-02-18
please, does anyone want to answer?
i have the same problem, so many ci that is showed from asset when i create ticket.
I've tried adding this OQL in the section:
but instead an error appeared, and my iTop portal didn't display the error text :(
can anyone help?
Thanks,
Kind Regards, Akbar:)
Last edit: barakbar 2021-02-19
Hello,
Not sure to understand what the question is, can you rephrase please ? For now I suppose you want that when creating a ticket, the add FunctionalCI dialog be filtered depending on the service selected ? I am right ?
If so you should take a look at the Prefill API
Thanks Pierre,
I've tried prefill api but it automatically fills in the functionalci section, can I select it manually? but the functionalci in the service are selected?
with this code :
Thanks for the clarification.
The prefill API is the answer... but this would be PrefillSearchForm method instead ! See the example in the page I linked before.
Hii, Pierre
I've tried the Prefill Search Form but nothing happened when I made a ticket on the portal And when I select the functionalci from the portal it appears instead all the functionalci that I have entered in itop, this is my code:
can anyone help me?
Last edit: barakbar 2021-03-12
anyone want to help me?
Thanks,
Kind Regards