07-31-2020, 08:27 PM
(07-31-2020, 11:19 AM)Comograma Wrote:(07-29-2020, 09:08 PM)DanBarclay Wrote: In Delphi, as others have posted, use the OnMetaTag event in Servercontroller:
Doesn't work. I even try to do a trace with the debugger but it doesn't even reachs there.Code:procedure TBSIServerController.IWServerControllerBaseMetaTag(
ASession: TIWApplication; const AMetaName: string; var vMetaValue: string);
begin
if AMetaName='generator' then
begin
vMetaValue := 'My New Stuff';
end;
end;
This should work fine for you in current releases. What is your IW version? As I recall this was added in one of the 15.x releases, but you can check the release blogs to be sure. Does your ServerController list an OnMetaTag event?
Dan