Passing a Prompt value to Webi using Xcelsius with OpenDocument
-Operating System: Windows XP
-OS Patch level: Service Pack 3
-Office Version: 2007
-Flash Player version: 10
-Xcelsius Version and Patch Level: Enterprise 2008 with SP2 (version: 5.2.0.0)
-Xcelsius Build number (Help>About Xcelsius): 12,2,0,608
-Business Objects Enterprise version/patch level (if applicable): Edge 3.1
-Issue Description:
I'm trying to open a Webi Document from my Xcelsius dashboard and pass the value for the prompt "Region". Ultimately I want to have this value determined by the drill down from a chart but at the moment I cannot get it to work even by adding the value at the end of the URL. The webi report opens but the user is given the prompt option and asked to select the value, where I want to pass this so it automatically shows the selected region.
The URL I'm currently using is:
http://"servername":8081/OpenDocument/opendoc/openDocument.jsp?sType=wid&sRefresh=Y&sDocName=Regional_Drilldown&mode=full&nbPrompts=1&lsSRegion=South
I have double checked the report and the prompt is definitely called "Region" and "South" is a valid region.
I would be very grateful for some help.
Many thanks
Robert Peters
Hi Robert
I would take out the reference to the number of prompts to give:
http://"servername":8081/OpenDocument/opendoc/openDocument.jsp?sType=wid&sRefresh=Y&sDocName=Regional_Drilldown&mode=full&IsSRegion=South
If you copy and paste the url into a browser does it sucessfully find the document?
Regards
Charles
Similar Messages
-
Default prompt values in webI report???
I am using BO XI 3.1 on BW universe, I have a prompt A in the prompt window which has many Lov's but user will freequently use only three values out of it.
So I want to make those three values to be default for that promp A when ever the report gets refreshed, so that it will be easy for user not to search in the big list for those 3 values.
Any inputs please.
Thanks,Hi,
You can make some values as default prompt values by webi report.
1) Open the webi report.
2) Edit the query then go to the prompt
3) Go to the prompt properties checked the chekcbox "Set default values" and type the three values and ok.
So next time user refresh the report all three values come in the filter default.They can remove or add more values in the list.but every time all values come in the filter.
Thanks,
Amit -
Passing Dashboard Prompt values to different dashboard.
Hi All,
I want to pass the selected prompt values from my current dashboard to a different dashboard. I am using a navigate function to go to the other dashboard.
The scenario is:
I am using a column formulae to navigate to the different dashboard.The column formulae written is:
case when rank ("Table".column ) <=10 then cast(rank ("Table".column) as char(10)) else ''||'+'|| '' END
In this scenario, the dashboard prompts are not get passed to the other dashboard.
In other case when I do not customize the column as stated above and in the Column Property just give a 'Navigate' in the Value Interaction it passes the prompt values to the other dashboard.
Similarly can we do something in the column formulae or using something else to pass on the dashboard Prompt values to the other dashboard.
Please Note that the dashboard Prompts in both the dashboards are exactly same.
Regards,
BhavikBhavik,
Your nearly there, simply extend your URL syntax and pass the colum values with it, see here :
http://sureshotstrategies.wordpress.com/2008/12/13/integrating-oracle-obiee-content-using-go-url-syntax-2/
e.g
http://webserver/analytics/saw.dll?Go&Path=%2Fshared%2FSupplier%2FRegionDollars&Action=Navigate&col1=Periods.%22Year%22&val1=%221999%22&op1=eq
Passes colum : Periods.Year
value : 1999
operator : equals (=) -
Passing dynamic prompt value using Report Engine SDK
Hello Experts,
I have created a webi report which contains prompt. Using SDK, I would like to catch the value of prompt which is selected by a user at runtime.
e.g. If prompt contains values year, quarter, month, etc and user has selected value of u2018Quarteru2019 at run time, then I would like to catch that value using Report Engine SDK.
I tried to implement prompt.getCurrentValues(). However that is not working.
Can someone please help me to figure out the way to catch this dynamic prompt value using Report Engine SDK?
Thanks,
JohnWhere is the prompt values being set, and where are you trying to catch it?
Workflow description is missing here.
Sincerely,
Ted Ueda -
Passing dynamic prompt values.
Hello,
I have around 250 Webi reports that i need to schedule to run on a monthly basis, and using the scheduled month/year as prompt value.
What is the best way i can accomplish this?
If i set an individual report to run recurrently every month, it will always use the prompt's default values or the values i set manually at the CMC, but that doesnt work for me because i need the prompts to be different each time they run..
I cant use the magic date solution because 99% of the reports use UserResponse() for year and month on table headers and similar.
Is this possible with coding? Can i code a script and schedule it to run every month, that will run through my list of reports to pass them the correct prompt and refresh them?
What is the recommended way to achieve something like this?
I already have a VB script that schedules an individual report to run immediatly, but i cant pass the prompts..
Thank you for your patienceHi Oscar,
I have attached a JSP file (renamed to .txt) with the code i used to fill the prompts dynamically with date variables (year, month, full date, etc).
You will need some libs. You should copy another web application deployed on the bo server tomcat and use that folder or read the SDK manual for the exact necessary libs - sorry, I have read this list somewhere but i cant remember where.
This code is not exactly great, far from it, but it has some comments and should give you a helpful start. I wish I had this when i needed it.
You need to know a bit of java to understand it.
After you have this working you just need to call the JSP to schedule the reports. We used a vbscript scheduled on the Windows Task Scheduler to call this every month. Each JSP schedules an entire folder full of reports.
Cheers, and good luck.
Fernando -
How to Pass dashboard prompt value to RPD variable??
Hi Experts,
I am creating RPD variable with below query in initialization block
SELECT extract(month from Max(report_date)) from xyz_date_dim where report_id=14 and year=:YEAR
I am having YEAR prompt in dashboard..from this RPD variable i want to get MAX(month) from selected year in dashboard.Here my problem is unable to pass selected YEAR to RPD Initialization block.
I read some threads we can pass user selected values to session variables. If possible can any one help me how to pass variable to achieve my requirement.
can any one help me in this....
Thanks,
KSS.So you want to pick a month in a dashboard prompt and have the answers report filter for that month, and return results for that month, month -1, month -2 etc etc.
If so try the following, lets assume your measure is simply called 'count'
in the BMM you have measure 'count' with aggregation set.
Create a new measure in the BMM called 'count MAGO' or whatever you want (this will be month -1)
in the logical forumula for that column, use the AGO function, syntax would be AGO(count measure,<time dimension.Month>, -1) - this function is found under the 'Time Series Functions' category.
repeat steps to create 'count 2MAGO' and use -2 in the AGO function to take off 2 months.
Repeat for however many Mth Ago's you want.
Then in answers, simply use is prompted on your month fied to filter the report for the relative month, select your 'count', 'count MAGO', 'Count 2MAGO' etc, the measure will be calculated for prior months relative to your filtered month.
Sorted? -
Displaying Prompt values in webi report
Hi,
How to display prompt value in my webi report.
For one prompt value I can user Userresponse function.
In one of my report, I have a prompt for Date, which also should be displayed in the report under one field. I am using the below formula: =UserResponse("Enter Date:")
But my new requirement is User wants a Date Range for a particual trasaction date. I created a report level prompt like
Transaction Date Between "Enter Tran Date(Start):" and "Enter Tran Date(End):"
I need to display the start date and end date user selected under one field Date in my webi report.
how should I do that.
Please share your thoughts.
Thanks,
Ven MenHi Ven,
You have created a report level prompt like
Transaction Date Between "Enter Tran Date(Start):" and "Enter Tran Date(End):"
1.Drag two blank cell on report.
2.click on one blank cell and on formula editor type following formula.
=UserResponse("Enter Tran Date(Start):" )
This will show you start date in the cell.
3.Similarly in another cell type the following formula
=UserResponse("Enter Tran Date(End):" )
This will show you End Date in respective cell.
Do revert in case of any queries.
Thanks,
Sandeep B. Singh -
Passing Dynamic Filter values to Web template in VC
Hi Experts,
Iam working with a Web Template (which is created using WAD) in Visual Composer Model
I have an input screen ( Variables Form )in VC Iview which has Fiscal Year, Quarter, week and other input fields which need to be entered by a user.
This variables are passed to a couple of queires. Also i have a requirement to pass the same vvariable values to Web template also ( WAD)
I have created a HTML iview in VC Dashboard.and in URL i gave the below URL which is working fine
"pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=YWEB_PLANNING_ADLAYOUT_2"
But i wanted the template to be executed with filter values also
in the actual template i have 4 filters which user needs to enter after the above URL is displayed..
In order to make the template execution dynamic i added the following URL which is not working:
http://Host:port/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=YWEB_PLANNING_ADLAYOUT_2%26FILTER_IOBJNM%3DZFISCYEAR%26FILTER_VALUE%3D2009%26FILTER_IOBJNM%3DZREP_WEEK%26FILTER_VALUE%3D42%26FILTER_IOBJNM%3DZFISCALQTR%26FILTER_VALUE%3D3%26FILTER_IOBJNM%3ZNSPLITREG%26FILTER_VALUE%3DAS%26FILTER_IOBJNM%3DZRSKOPP%26FILTER_VALUE%3DR
Please let me know how to pass dynamic filter values from "Variables Form" of VC iview to Web template HTML iview
Thanks
P.NavakanthHi,
this is my sample:
'http://**********/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=TESTE1&DUMMY=0&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING='&DSTR(NOW(),'MMYYYY')&'&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=GLIPM002&BI_COMMAND_2-BI_COMMAND_TYPE=SET_SELECTION_STATE_SIMPLE&BI_COMMAND_2-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_1=&BI_COMMAND_2-CHARACTERISTIC=GLC000079&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-EQUAL_SELECTION-MEMBER_NAME=****' -
Pass Multiple Prompt Values Dynamically in a Publication
Hello
I have a dynamic list for list for my Publications of a Web Intelligence Document. The dynamic list has the following columns names
ID
Name
Email
Zone
and the Web Intelligence document has the columns:
Zone
Sales Value
I can't use Profiles because some of the recipients in the dynamic list do not have a BOE account
Lets say I use the following values
ID = 1
Name = Sally
Email = [email protected]
Zone = USA
This works fine and if I change the value of the Zone to another single value, (maybe Sally has been reallocated to a different Sales Region) for example:
ID = 1
Name = Sally
Email = [email protected]
Zone = UK
then this also works fine and the output from the Publication shows the correct value.
However, when I try and do the following, I run into problems:
ID = 1
Name = Sally
Email = [email protected]
Zone = USA;UK
The resultant output is blank!!! The prompt that is in my document that I want to burst is set to optional. I've tried using:
semicolons: for example USA;UK
commas: for example USA,UK
brackets and semicolons: for example (USA;UK)
brackets and commas: for example (USA,UK)
but nothing works and the resultant output is empty
Also, passing in a blank value for the optional prompt to return everything but this does not work either and the resultant output is empty.
I can't believe that this is not possible and would welcome any suggestions.
Thanks in advance.
JulianZHello Arijit
Because that is just 2 individual values I know that would work, but its not going to be suitable for my needs. In reality, my dynamic list will look more like below and will contain a lot more people too.
ID
Name
Email
Zone
Region
Item
1
Sally
Sally@mytown
USA
2
Mary
[email protected]
USA
California
3
Jim
[email protected]
UK
North
Coats
4
Bill
[email protected]
Coats
5
Fred
[email protected]
USA;UK
Jeans;Belts
My Web Intelligence Report that needs to be burst/published has the columns
Zone
Region
Item
Sales
Zone, Region and Item are also Optional Prompts so, in the case of "Sally" above, she should get all items for all regions in USA, Bill should get Coats in all Zones and all regions etc etc
Thanks
Julian -
How to pass the prompt value to repository variable in obiee 11.1.1.7
Hi All,
I am given a tabular report to build in OBIEE 11.1.1.7 version using insurance data.
I have to show different types of claim names and their corresponding count in the table. One of the calculations require me to use the total no of claims(i.e sum of all the claims).
Example:
Total No of claims: 600
Total No of Auto Claim: 60
I have to create a table on Auto Claim like:
claim types count
X 10
Y 20
Z 30
I was calculating total no of claims by using dynamic repository variable as it was a constant value. Example: repository_variable1: select count(claim ID) from Insurance; In report I was just using value of (repository_variable1)
Now client has asked us to give date prompt so the total no of claims (assumed as 600) will change with respect to period. I can calculate total no of claims with respect to different claim type (as shown in the table above) with respect to period filter in the report.
The problem I am facing now is, I need the count of all the claims on a partucular period too. Repository variable is giving always calculating the count as 600. But the count should change with respect to period selected. How to get this value?
Can I create a presentation variable in the prompt and pass this value as an argument for repository variable?
Please help. I am in urgent need of the solution.
Thank you.Hi Srini,
I tried creating it as metric. But the problem is my pivot table is on Auto Claims.
Let me try to make myself a bit more clear.
Total No of claims in fact table: 600
Total No of Auto Claims in fact table: 60
claim types(auto claims) count Calculation
X 10 10/600
Y 20 20/600
Z 30 30/600
So I need to access total no of claims to calculate. I cant use a metric as the count will take group by with respect to auto claim type and give value only for X claim. -
How to pass dashboard prompt value to requests in folder
Hi,
I want to have a dashboard page that contains dashboard prompt for period and list with requests (for this I add Folder and select "Expand folder").
If I use dashboard prompt to set presentation variables, the chosen value is not passed to requests in folder list and as I understand this is the way presentation variables work. Therefore I tried to use Request variable, but get the same result - value that is chosen in dashboard prompt, influences request only if it is shown in dashboard not if I open it from folder list.
Steps I did:
(1) Created session variable "Period", that users can alter. Initialization block is simple dummy select - Select ’2008.08’ from dual;
(2) Created dashboard prompt that sets Request variable Periods;
(3) Created report with session variable value in it:
SELECT Time."Period code" saw_0, VALUEOF(NQ_SESSION.Period) saw_1 FROM "TEST" WHERE Time."Period code" = VALUEOF(NQ_SESSION."Period") ORDER BY saw_0, saw_1
If I include this report directly in dashboard, it shows the session value that is set from dashboard prompt, however when I open it from folder list, it shows the default value 2008.08 although I have stayed in the same session.Iza, you are correct in your assumption regarding passing Presentation Variables to reports that are in the Folders object. If you have a dashboard prompt on the same page as the Folders object, then even if you select a value in the prompt, it will not pass when you click on the report name in you Folders object.
Here is something you might want to consider to achieve what I think you are trying to do. Instead of having the Dashboard prompt on the first page, create a "table of contents" home dashboard page. What I mean is:
1) First, create a Dashboard page with the prompts you wish to filter a report with and set the default values. Save this as the template dashboard page. Now, with a second copy of this template, drag one of your reports to this page. Save it. Using your dashboard template page, create another copy and drag the second report to this page. Save. Do this for each report you wish to display. Note that you can drag more than one report to a dashboard page.
When you are done, you will have several dashboard pages, each with one or more reports and the dashboard prompts on the top of the page.
2) Now on your "home page," drag the Link or Image to a section. Link this object to the first dashboard page you created in step one. Name the link the title of your report. If there are more than one report on this page, title the link appropriately. Click the "open in new window" checkbox. Drag a Link or Image object for each dashboard page you created in step one.
When you are done, this home page will look similar to your Folders object, with links to each of your dashboard pages that contain the reports. When the user clicks on the link, the appropriate dashboard page will appear with the dashboard prompts and the report will be filtered on the default values. Now the user can change the values of the prompts as desired. When the user is done, he/she can close the window and he/she will be taken back to the home page to select another report. -
Can we set prompts value in Webi to schedule thru JAVA SDK 4.0
Hi,
I need to schedule webi report which has prompts. Can we have schedule webi report with prompts in 4.0.
I was able set values for prompts and refresh the webi report using documentInstance object. I think we can't use this object for scheduling right?
Also, I would like set values from LOV.
Could you please help to find solution.
Thanks
VenkatHello Venkat,
Unfortunately the feature of scheculing a webi reports with prompts have been deprecated from the
version 4.0 using the enterprise java sdks.
In XI 3.1, promtsutil class was used for setting prompts while scheduling a webi report using java sdks, which have been deprectaed from 4.0 and there is no replacement for the same in enterprise java sdks.
However, this feature was re-implemented in the new Restful web services and is availble for BI 4.0 SP6 onwards as far as I am aware of.
Please refer to the below document for better understanding.
http://help.sap.com/businessobject/product_guides/boexir4/en/xi4sp6_webi_restful_ws_en.pdf
Also please refer to the forum http://scn.sap.com/community/restful-sdk for any queries related to Restful webservices sdks.
Thanks,
Prithvi -
Set filter value by other filter prompt value in Webi on top of BW
Dear All,
In webi report which on top of BW cube, I create a filter with prompt for YearMonth selection.
Is there any way to create another filter for Year which based on the select Year month? For example , user input YM = 200903 --> Year = 2009
In bw , we can create variable with exit which read the data from other variable. Is there any exit for filter we can use in webi?
I am using XI 3.1 & BI 7.0.
Thx,
JeffHi Jeff,
since you want to limit the normal time dimension on your cube why do'nt you remove the yaer month filter form your SAP BW query and replace it with a month filter?
Generally you have two options:
1) You can either add you own filters (using MDX syntax) in the universe.
[http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_sap_olap_universes_en.pdf]
2) Use local Web filters (these are applied on the report itself).
Regards,
Stratos -
Error 2170 when using Xcelsius with a web service
Hi,
I have built a small dashboard that gets data from a web service. When previewing it in XCelsius itself, the data is picked up without problem, but when exporting the file to PPT, Word or PDF, I get Error 2170 which is a connection error.
The Webservice I use a self-built one from a function module in an ECC6.0 system.
In the web (and her in SDN) I have found two solutions:
1) Flash settings. For Flash versions above 9.0, one has to allow connection to external programs. I have tried that but am not sure if I should allow connection for the PPT or PDF or for the .swf file "inside" (which I dont know the name of).
2) Server side. A crossdomain.xml file should be added to the root of the webserver. What folder would that be in the case of an ERP system and could I do that? Additionally: can the be the reason to my problem when the webservice works fine as long as called from within XCelsius?
I would be very grateful for ideas...
ThorbenThorben,
Here is what you need to do
-->Export your visualization to swf
-->Run the Swf, right click on visualization and got to settings.
OR
Click
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
In 3rd Tab (Global Security Settings)
--> Check box "Always Allow"
--> In the Drop down (Edit location... select Add Location
-->Browse the swf file
That is it...now reopen the .swf file, it should not throw error.
Hope this helps
-Anil -
Passing Dashboard Prompt Value to multiple pages in a Dashbaord
Hello,
I have a situation where I neeed to pass value of Customer ID from first dashboard page to multiple pages belonging to same Dashboard. What is the best way to implement ?
Thanks !
RajI created a presentation variable for the prompt and when I acess the same variable in the second page (for another report), its not giving accurate results. should I write an SQL and pass the variable to the report in the next page and so on ..?
Thanks,
Raj
Maybe you are looking for
-
I'm having trouble with my computer and may (but i hope not) lose all my files in the attempt to repair it. I want to know if the data back up discs will restore my library into a new instance of itunes if it becomes necessary. I would hate to lose a
-
my macbook pro running lion will not boot . it stays on the grey page with the cog spinning. I have tried all methods of booting to no avail. I have removed the bottom and taken out the battery and the ram . will this affect my applecare warranty. I
-
How do I update ME 7 to ME 8?
I am trying to update bios on MSI P67A-G45, going from ME7 to ME8, using the MSI Forum Bios Tool, and MSI 7673v51.zip bios. I created a boot flash drive as described on the forum help topic and when I boot from the USB I get three options 1 Run Memt
-
More css dumbness on my part: I have two DIVs on a page that both have a table inside it. The intention is that both tables should center within their DIV. In IE on the PC, the content table centers, but the footer table aligns left. In Mozilla, it's
-
When I connect onto my pc I get the error: cannot connect cause of an unknown error. Who can help me?!