[RPG]LRNG_Checkproperty
Posted: Tue Mar 29, 2016 8:55 pm
Hi,
I would like to show PDF on webview element on a formview and would like to check if the target PDF exist or not before showing it.
However, it seems LRNG_CheckProperty doesn't accept URL like 'http://ext.lansa.jp/temp/sawada.pdf'.
Is there any way to achieve my requirement?
FYI:
[RPG](extracted)
D PDF_RESOURCE C 'http://ext.lansa.jp/temp/sawada.pdf'
If LRNG_CheckProperty(PDF_RESOURCE);
IsNewForm = False;
Endif;
[Error message when executing]
---------------------------------------------------------------
Error Code = 0. Character ':' is not allowed in property names.
Allowed in property names. Allowed characters are alphanumric and
underscore '_'.
Property name is not valid: 'HTTP'.
---------------------------------------------------------------
Best Regards,
Megumi Sawada
I would like to show PDF on webview element on a formview and would like to check if the target PDF exist or not before showing it.
However, it seems LRNG_CheckProperty doesn't accept URL like 'http://ext.lansa.jp/temp/sawada.pdf'.
Is there any way to achieve my requirement?
FYI:
[RPG](extracted)
D PDF_RESOURCE C 'http://ext.lansa.jp/temp/sawada.pdf'
If LRNG_CheckProperty(PDF_RESOURCE);
IsNewForm = False;
Endif;
[Error message when executing]
---------------------------------------------------------------
Error Code = 0. Character ':' is not allowed in property names.
Allowed in property names. Allowed characters are alphanumric and
underscore '_'.
Property name is not valid: 'HTTP'.
---------------------------------------------------------------
Best Regards,
Megumi Sawada