Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] !IBI.amp.VARIABLE syntax in 8.2
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] !IBI.amp.VARIABLE syntax in 8.2
 Login/Join
 
Gold member
posted
We are in the process of trying to upgrade to 8.2 and we have noticed that our HTML files that contain the !IBI.amp.HTMLDATESTART ; type syntax are not able to be ran. Has this functionality been removed or restricted? Has anyone else ran into this issue and been able to work around it?

This was the only way we know how to default controls like calendar controls to certain values, so we would like to keep this functionality if possible.

Also, the error we're receiving is an alert that says "User does not have permission to run Portal Content"

This message has been edited. Last edited by: FP Mod Chuck,


WF 8.2.0.3
Windows 10 64bit
HTML, AHTML, PDF, Excel
 
Posts: 83 | Registered: April 13, 2015Reply With QuoteReport This Post
Master
posted Hide Post
The ability to use a variable in a web page is an important component of many of our -HTMLFORMs and I believe for other IB customers, so I don't think it would go away.

The syntax in the 'Developing Reporting Applications' shows 'AMP' to be in caps, and the semi-colon to immediately follow the variable name.

Here is an example, from one of our -HTMLFORMs:
<style>
 .tag {
    float: left;
    position: relative;
    left: 0px;
    top: 0px;
    z-index: 1000;
    margin-bottom: -20px;
    margin-right: -20px;
    display: !IBI.AMP.DISPLAYICON; ;
  }
</style>  


Maybe adjust your syntax and retest?




Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2012/Tomcat Standalone Workstation: Windows 7/IE 11 Database: Oracle 12c/Netezza Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer, & ReportCaster

 
Posts: 787 | Registered: April 23, 2003Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Are you putting amp in uppercase and not having a space before the ending semicolon? Like this:

 
!IBI.AMP.HTMLDATESTART;
 


WF 8.2.06
Win10 / IE11
AHTML EXL2K PDF
 
Posts: 147 | Registered: October 19, 2010Reply With QuoteReport This Post
Gold member
posted Hide Post
You guys are right. It appears the syntax was not sensitive in our current version (8105). After changing to all caps and moving the semicolon, the error went away.

Though I did not test which specific change corrected it.


WF 8.2.0.3
Windows 10 64bit
HTML, AHTML, PDF, Excel
 
Posts: 83 | Registered: April 13, 2015Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] !IBI.amp.VARIABLE syntax in 8.2

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.