Dynamic columns based on the user login
Dear Experts,
Is it possible to display the columns dynamically according to the connection of the BI Publisher user?
For example, if the report of RTF model has 10 columns in total and if I connect with a user named "abc", I should be able to see, say 6 columns containing information about the user "abc".
And if I have connection with "xyz", I should be able to see, say 7 columns containing information about the user "xyz".
I will be able to assign to which column should be displayed to the user who?
If there is a way to achieve this scenario, please let me know as soon as possible, since there is an urgent need.
Your help will be very appreciated.
Thanks in advance!
Yes, using: xdo_user_name in the SQL data model, you can get the details for user identification.
Then use this model column RTF for display of the dynamic columns.
Example:
Select: xdo_user_name as USER_ID of the double
In RTF
Tags: Business Intelligence
Similar Questions
-
Change the command prompt based on the user login
Hello
I work in 11.1.1.5(11g) OBIEE. In my environment, OBIEE is integrated with OAM and user gets if authenticate in the OID Database.I a requirement where in cases that we have two users(user1,user2) and guest (prompt1, 2 guest)
Example:
If 1 1 user login prompt should get the display and 2 2 so quick connection of the user should get a good view.
Can anyone help on this?
Thank you
PadminiWith the help of the Administration-> catalog manage set permissions at the prompt and add the page. Based on the permissions that they might see respective guests
If brand aid
-
Hi all
Suppose I have table, whose structure changes frequently on a daily basis.
For example. / / desc my_table gives you after the name of the column the day 1
SQL > my_table DESC;
Output
Name
Age
Phone
Day 2, two other columns are added, viz, address and salary.
SQL > my_table DESC;
Output
Name
Age
Phone
Address
Salary
Now, I want to create a Dynnamic RTF report which made extracting data from all columns from my_table daily. For this, I have defined a simultaneous program with XML output type and include in annex a data/definition of data model that takes XML as input and gives the final result of the conc program in EXCEL layout. I am able to do that for a constant number of columns, but don't know how to do it when the number of columns to display dynamically changes.
For 1 day my XML file should be like this.
<?xml version="1.0" encoding="UTF-8"?> <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0"> <dataQuery> <sqlStatement name="Q2"> <![CDATA[ SELECT Name ,Age ,Phone FROM my_table ]]> </sqlStatement> </dataQuery> <dataStructure> <group name="G_my_table" source="Q2"> <element name="Name" value="Name" /> <element name="Age" value="Age" /> <element name="Phone" value="Phone" /> </group> </dataStructure> </dataTemplate>
And my day 1, EXCEL output RTF model should be like this.
Name age phoneSwapnill 23 12345
For 2 days my XML file should be like this. With 2 new columns selected in the SELECT clause.
<?xml version="1.0" encoding="UTF-8"?> <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0"> <dataQuery> <sqlStatement name="Q2"> <![CDATA[ SELECT Name ,Age ,Phone ,Address ,Salary FROM my_table ]]> </sqlStatement> </dataQuery> <dataStructure> <group name="G_my_table" source="Q2"> <element name="Name" value="Name" /> <element name="Age" value="Age" /> <element name="Phone" value="Phone" /> <element name="Address" value="Address" /> <element name="Salary" value="Salary" /> </group> </dataStructure> </dataTemplate>
And my day 2, exit EXCEL model RTF should be like this.
Name address telephone pay23 12345 Madrid 100000 Swapnill
Now, I don't know below things.
- Make the dynamic XML as we did in the day 1 there are 3 columns in the SELECT statement and the day 2, 5 columns. I want to create a dynamic XML which must not be changed if the new columns are added into my_table. I don't know how to create this query and also create their corresponding items below.
- Make the RTF model dyanamic as day 1 there are 3 exit EXCEL columns and the day 2, 5 columns. I want to create a dynamic RTF model that would display all the columns selected in XML dynamic. I don't know how the RTF will create new XML tags and how it will know where to place them in the report. Means, I can create model RTF day 1, by loading the XML data for 3 columns and place 3 tags XML in the model. But how he will create and place the tags for the new columns the day 2?
Hope so, you got my requirement, it's difficult. Please let me know how I can implement the necessary solution using the RTF dynamically without any manual intervention.
Kind regards
Patricia K.
Post edited by: SwapnilK
Hi guys,.
I was able to solve above the requirement.
I created a procedure that would create & update (attached to the data definition) XML file dynamically for each race. This dynamic XML contains the SQL statement for the data query that is built dynamically. I am updating this XML file using XDOLoader utility to the definition of data. Then run my program customized to generate the excel output.
Exit excel retrieves correct number of columns dynamically (3 on Day1 and Day2 5), with corresponding data records.
Kind regards
Patricia K.
-
Approver dynamic groups based on the user of the input values
Hi all
I need to create groups for approval in SOUL based on the input values by the user in a special SIT.
For Ex: If the user eneters 'Yes' for a particular segment, I need to send a set of approvers and the user eneters 'no', so I need to send another group of approvers. Please let me know how it can be obtained by the SOUL.
Thank you
REDAHello
1 define an attribute in the SOUL who reads this segment of the table of transactions of SSHRC.
2. create the conditions and rules based on this attribute to change permissions.Kind regards
Laulagnet -
Based on the user dashboard sign on
Hello
I have to design a dashboard page that loads based on Department and users. The modules is in a table, the table has two columns, username and the Department.
NOTE: There must be a dashboard page, but the content must be different depending on the user that connects.
Department of user name
User1 sales
User2 sales
The util_3 sales
ACCT user4
USER5 Acct
Utilisateur6 Mktg
USER7 Mktg
.....
How to start this project? Help, please.
Thank you.Hello
Create groups based on departments to the RPD, to groups such as sales, accounting, marketing etc... Assign users to specific groups (this means Department underspecific users). Create these groups in the web under manage Presentation catalog groups and users.
Now, create a page with section per group.
I mean
Section1 - sales
Section 2 - accounts
Section3 - Marketing
etc...
I mean applying security for sections (section per group) properties of the section-> permissions and give access to a section specific to the specific group (remove the Everyone group) as I mentioned above.
Now place the tha reports in sections according to your requirement. Sales in the sales section reports, accounts in the section and so on.If you want to create a report based on this table (user & dept). Apply security at the level of the table data in the presentation layer of RPD (right click-> properties -? permissions-> Filter tab), the value of dept assignment specific to a specific group, that filters the data in the dept column based on the user login.
Hope this helps you :-)
Kind regards
Srikanth -
Hello
Request Express 4.2.3.00.08
I created an application of multi languaguage in which the language is defined by setting: FSP_LANGUAGE_PREFERENCE
But the login page, I would like to than the login page to be displayed in the browsers language.
The url of the application connection looks like as shown below but the & BROWSER_LANGUAGE. product always (English).
f? p = & APP_ID.:LOGIN_DESKTOP: & SESSION. : FSP_LANGUAGE_PREFERENCE: & BROWSER_LANGUAGE.
LOGIN_DESKTOP is an intermediate page that has one before branch header for the page of real connection if the FSP_LANGUAGE_PREFERENCE is set prior to the loading of the page.
If I set the language set in this URL, it works as expected:
f? p = & APP_ID.:LOGIN_DESKTOP: & SESSION. : FSP_LANGUAGE_PREFERENCE:nl - page Login Show in NL
f? p = & APP_ID.:LOGIN_DESKTOP: & SESSION. : FSP_LANGUAGE_PREFERENCE:-see the login page in EN
When I put the application to choose the language based on the browser language that it works, but then I am not able to have users to save their preferences for the next time they are connected.
Any ideas on why & BROWSER_LANGUAGE. translates by "in" even though the language in the browser is different?
See you soon
Bottom
OK, he stares at me
For all those interested, this is how.
Create a page additional empy (with alias page LOGIN_FORWARD_PAGE) and set the url to connect to the application of this new page and set the value of the application on BRANCH_TO_PAGE_ACCEPT:
f? p = & APP_ID.: LOGIN_FORWARD_PAGE: & SESSION. : BRANCH_TO_PAGE_ACCEPT:
On the page to create a pl/sql process submit before calculations similar to one below which affect the en language, if the browser is not NL (in Dutch):
If upper (substr (owa_util.get_cgi_env ('HTTP_ACCEPT_LANGUAGE'), 1, 2)) = "NL" then
: FSP_LANGUAGE_PREFERENCE: = "nl";
on the other
: FSP_LANGUAGE_PREFERENCE: = 'en ';
end if;
And create a branch to submit before the treatment which redirects to the current login page (the value of FSP_LANGUAGE_PREFERENCE is then already set and the application is configured to use this setting).
After that loging in you can extract the FSP_LANGUAGE_PREFERENCE based on the user.
BTW, I had to switch to 4.2.5 there in 4.2.3 is a bug preventing to set session state when you use BRANCH_TO_PAGE_ACCEPT!
-
Set the Dynamic Menu based on the opening of session/user role
Hi all
Can someone help me to define the Dynamic Menu based on logon user/role? I have several menu and I want to change the menu primary logon user or role-based.
How can I do this?
ArifHello
try to use replace_menu, see form builder help
New_block_instance trigger, you can write
replace_menu ("C:------...-
.mmx'"); -
How to highlight a line in IR based on the user name
Hello
What is the best way to highlight a line in an IR, based on the user name. IE APP_USER.
Suppose that if an APP_USER connect to the application, the line corresponding to the APP_USER international registration should only be highlighted.
(The button change is not visible in IR)Hello
Value of APP_USER is uppercase. Your name column values are lowercase.
Example of code I have after string comparison is case-sensitive.I don't have to change your action Dynamics example JavaScript to convert the value of the cell uppercase
this.affectedElements.find('table.apexir_WORKSHEET_DATA td[headers="NAME"]').each(function(i){ var lThis=$(this); if(lThis.text().toUpperCase()=="&APP_USER."){ lThis.parent().children().css({"background-color":"#55A955"}); } });
Now, it should work
Kind regards
Jari
-----
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai -
Windows XP home do not move to the user login screen too early.
How to configure Windows XP home do not go to the user login screen after a short period of time? Very irritating.
Go in Control Panel > display > screen saver . Change the settinghold and/or uncheck the box on resume, password protect . Boulder computer Maven
Most Microsoft Valuable Professional -
Hide a metadata profile based on the user role.
Hi all
I need to hide a metadata profile (log, update) based on the user role page. I have added metadata to a rule like "change" and added the rule to the profile. Now I want the metadata submitted must be visible for couple of user roles (admin, contributor) and it should be hidden for other user roles. How to achieve this?
The content Server: 11.1.1.8
Thank you
Maury
(1) create a rule that allows you to hide the metadata for all roles
(2) create a new one which will show use the condition of activation of rule with building userHasRole("contributor")
-
Compare multiple columns and update a column based on the comparison
Hi all
I have to update the column STATUS of the slot structure of the table.
Status should be 'P' if all the columns count are equal on the other should be "F".
The value of the column can be "NA'. If the value is NA, then avoid this comparison column; compare only other 3 columns.
My output should look like below.
State of cnt1, cnt2 cnt3 ID cnt4
1 4 4 4 4 P
2 4 5 4 4 F
3 4 4 NA 4 P
NA 4 4 3 4
I tried with the statemnt with BOX WHEN conditions and DECODE UPDATE, but could not succeed, can someone please help
To do this, if you use my statement in response #11 box (Re: Re: comparison of multi-column and update a column based on the comparison of)
-
Hi gurus,
I need your help. My requirement is as follows.
1. my company wants to control the User Login/Logout time, consulted with responsibilities, accessed Modules, what actions he did during its connection... Can we get this report? If yes pls Guide...
2 is the data in the fnd_logins table to get the purge after 24 hours, if so, how do not purge get...
Thank you very much in advance
Kind regards
Afzal.
WA alaikoum amani brother Salam,
Check search content Hussein as he would certainly help.
At the same time, also have a look on the following site
Oracle Apps DBA online training,
Queries for SESSION INFORMATION
Number of users connected to Oracle E-Business Suite
Hope this helps
Best regards
-
In the form of table-update a column based on the other
Greetings,
I want to update a column based on the value of another column in a tabular presentation. What should I use? Calculation or validation process?
-VatsaYes, get rid of the update of "pims_component" - this is the cause of the error table mutation - and simply set
: new.state_ind: = Ls_state;
CITY
-
How to plan the report filtered by dynamic date based on the date, the Agent is running
Hello
I have a question about account using OBIEE agent.
If I run an agent today to deliver A report, can I me A report based on the date of last Monday or any dynamic dates?
For example, say is today, December 18, 2013, and my agent is run according to how I put the calendar. Now the content of the delivery report one being delivered. Now A report has a date column, normally this column is filtered by the current date. But if it comes through the agents to different users, the data should be the previous Monday, so in this case, 9 December 2013. When this agent is run once again, declared December 27, 2013, then the report must be filtered by December 16, 2013, which is the previous Monday 27 dec.
Something like this is possible in OBIEE 11 G?
Thanks in advance.
Yala,
Not in a straightforward way
(1) let the report through Agent with filter current Date
(2) after he ran for the first time you can see IBOT name/last execution time (LAST_RUNTIME_TS) in S_NQ_JOB
Create a variable reference 'last_run_agent' to aid in sql to get max (LAST_RUNTIME_TS)
SELECT max (LAST_RUNTIME_TS) from s_nq_job, whose name = "AGENT_NAME;
Change analysis with current date filter report and amend accordingly the condition of filter to filter on repository variable, newly created
Thank you
-
How to add dynamic items based on the results of a dynamic query?
Hi all
I'm quite new to ofa, here's my problem.
I have a table 'interventions', each intervention have actions stored in the table "actions".
I want to show the actions of an intervention in a list, based on the id of the intervention. the response ID value is dynamic, so does not know the number of shares that you want to display in the list.
Can someone tell me the steps to create a region that has dynamic elements to display names of action?
Thank you
Kind regards
Afaf
Afaf,.
Take a look on the link below to see how to create dynamic VO:
You could add messageStyled text like the code below:
OAMessageStyledTextBean newMessageBean = (OAMessageStyledTextBean) createWebBean (pageContext, MESSAGE_STYLED_TEXT_BEAN, null,"
" "); Links to dynamically create elements below:
Add columns to the table advanced in OA Framework Programatically by Extension
Let us know if you get any errors when creating.
See you soon
AJ
Maybe you are looking for
-
Portege M400 - recovery question
I try to recover my pc (Portege M400-105) and I lost the format of raid. Now, my operating system can not find the hard drive. How can I reformat as raid with the antishok system partition?
-
The create a System Image will save the FPGA code and the RT code?
I have some cRIO systems which were broadcast in our manufacturing plant for some time. A slight problem has been discovered in the programming and created a workaround solution, but a fix should be implemented. Currently, I have no way to test my ne
-
Hi all I was stuck for a few days trying to get my work VI and get this error. It is as simple as to save a graph of intensity as an IMG, he works with JPEG formats but my graph is U16 grayscale and it is not supported by the jpeg format so I didn't
-
STOP with BSOD... gives code 0x0000000A
I am very frustrated. I ran all kinds of tests, malware bytes, software tool malware etc etc. Afgter the stop code, there are 4 other codes (0 x 04021470, 0x85cc05BA, 0x00000001B, 0x00000001) It's all Greek to me. Any help... step by step apprec.