webservice with variable parameter from user?
Hi, I am trying to get a webservice feed working but can't figure out how to get a value from the user on the wiki page instead of having to embed it in the plugin.
The following code works to produce the required output so I know hardcoding the paramater/variable in the URL works:
Copy to clipboard
{WEBSERVICE(url="http://ctcphapp01/showdicom.php?patientid=0000089")} !! Studies for requested patient ||Name|ID|Type|Date|Time|Description {{foreach from=$response.Studies item=study}} {{$study.PatientNam}} | {{$study.StudyID}} | {{$study.StudyModal}} | {{$study.StudyDate}} | {{$study.StudyTime}}|{{$study.StudyDescr}} {{/foreach}} || {WEBSERVICE}
but I want to be able to have a form field for the user to enter the 'patientid' parameter.
I am running Tiki v6.4. I thought of using a plugin alias but could not find a decent description of how to do this for this version (or any version, really)
Any thoughts appreciated.
Thanks,
Gary