ciWebStrInjector

<< Click to Display Table of Contents >>

Navigation:  Components >

ciWebStrInjector

The ciWebStrInjector allow to retrieve a webpage from a URL or any resource that could be treated as a string resource as API resource link or related data.

 

This component works like ciMacroStrInjector but its content is retrieved by the URL property. It makes use of INDY library to retrieve the content. Although uses INDY is not dependent of the uniGUI  INDY's code. Is only VCL dependent and is very importante since you can use it to implement Rest/HTTP API access.

 

Clip9c

fig 1- ciWebStrInjector in Object Inspector

 

Events and Properties:
This component differs from ciMacroStrInjector for having an URL property , where you MUST define the URL  page address to fetch data. onBeforeFetch and onAfterFetch are used to controls events before and after retrieving data from the URL.

 

An adition ErrorPage string can be define.