Hi,
I need to use one macro in another.
To be specific, I need to use a macro in a template, which inserts a custom header.
The custom header has name and value (not sure if these are the correct terms).
If I put something like
%SETHEADER(X-sUID,"HEADER_VALUE")
,this works OK.
But I want HEADER_VALUE to be retrieved from a .txt file.
I tried
%SETHEADER(X-sUID,"%PUT='C:\test.txt'")
%SETHEADER(X-sUID,'%PUT="C:\test.txt"')
%SETHEADER(X-sUID,%PUT=#"C:\test.txt"#)
and several other variations, however the custom header is not inserted.
Can this be done and which is the correct way?
Thanks.
I need to use one macro in another.
To be specific, I need to use a macro in a template, which inserts a custom header.
The custom header has name and value (not sure if these are the correct terms).
If I put something like
%SETHEADER(X-sUID,"HEADER_VALUE")
,this works OK.
But I want HEADER_VALUE to be retrieved from a .txt file.
I tried
%SETHEADER(X-sUID,"%PUT='C:\test.txt'")
%SETHEADER(X-sUID,'%PUT="C:\test.txt"')
%SETHEADER(X-sUID,%PUT=#"C:\test.txt"#)
and several other variations, however the custom header is not inserted.
Can this be done and which is the correct way?
Thanks.