Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     &IBIMR_domain from a fex in apps/ gives wrong answer

Read-Only Read-Only Topic
Go
Search
Notify
Tools
&IBIMR_domain from a fex in apps/ gives wrong answer
 Login/Join
 
Expert
posted
-TYPE &IBIMR_domain
this command in a fex within a domain, works just fine.
this command from a fex on the backend (in ibi/apps/{someapp} makes up a value for itself.
it gives a valid domainname...but the app and the domain aren't related...
where is this coming from?
How can i override it? its making me nuts.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Expert
posted Hide Post
Is the value for &IBIMR_domain set in the site profile, with code that looks something like this:

<set> IBIC_server (pass)
<set> IBIMR_domain (pass)
<set> IBIMR_folder (pass)
<set> MR_BASE_DIR (pass)


Are you running your app fex via MRE or outside MRE?

Perhaps the last accessed domain is being passed...

I am logged in to MRE in one web browser window and I have run a fex within an MRE domain ,

Then I run an app fex in another web browser window, &IBIMR_domain contains the value of the domain of the other MRE program I ran.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
outside, Francesco.
my fex is in a app directory
that's what's puzzling
i would expect &IBMR_user.EXIST to be 0
and its not.
whacky
its causing me ageda up the gazzink




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Expert
posted Hide Post
Susannah, what do you have in the custonm settings in site.wfs? This may affect &IBMR_user.

I'm not sure what Tom refers to when he mentions "RS". I am under the assumption that for all WebFOCUS executions, self-service or MRE, site.wfs is invoked.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
francesco
the server site.wfs is empty
the client site.wfs has
IBIMR_user(PASS)
IBIMR_domain(PASS)
IBIC_user(PASS)
and that's it.
i'm just puzzled that domain has anything in it at all, when the execution comes from the backend.
i would expect &IBIMR_domain to be empty.
wouldn't you?




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Expert
posted Hide Post
I just don't know why you would have to do this, but you could try changing the Custom Settings in the Admin Console to this:

<IFDEF> IBIC_user
  <SET> IBIC_user = &IBIC_user (PASS)
<ENDIF>

<IFDEF> IBIMR_user
  <SET> IBIMR_user = &IBIMR_user (PASS)
  <SET> IBIMR_domain = &IBIMR_domain (PASS)
<ENDIF>

Pass the ID and Domain variable only if the ID exists or pass 'unknown' if the ID does not exist:

<IFDEF> IBIC_user
  <SET> IBIC_user = &IBIC_user (PASS)
<ELSE>
  <SENDVAR>
    IBIC_user = unknown
  <ENDSENDVAR>
<ENDIF>

<IFDEF> IBIMR_user
  <SET> IBIMR_user = &IBIMR_user (PASS)
  <SET> IBIMR_domain = &IBIMR_domain (PASS)
<ELSE>
  <SENDVAR>
    IBIMR_user = unknown
    IBIMR_domain = unknown
  <ENDSENDVAR>
<ENDIF>


I have tested this code on my local test server. Be careful, because some coding mistakes causes the client to fail and you have to restart the web server.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
clever you are francesco
i'll try that on my dev box
for the moment, i'm having my users all rewrite any backend apps to say
-SET &IBMR_domain='nodomain';
awful, i know, but it works.
but you gave me another idea
if i first test for &IBMR_user ... you get my drift...gonna go do that now...
oh rats that didn't work. of course it didn't work. my bid users will all have an IBMR_user

This message has been edited. Last edited by: susannah,
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     &IBIMR_domain from a fex in apps/ gives wrong answer

Copyright © 1996-2020 Information Builders