在MicroStrategy中通过URL回答多个提示 [英] Answering Multiple Prompts via URL in MicroStrategy

查看:128
本文介绍了在MicroStrategy中通过URL回答多个提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是MicroStrategy的新手,我试图构建一个URL来绕过提示导航到报告.该报告有2个提示日期的提示,然后是一个多选提示(从一个列表框中搜索/添加项目到另一个列表中).我可以用它回答日期提示(绕过它们),但是我不知道如何通过URL回答多选提示.这就是我到目前为止所拥有的...

I'm very new to MicroStrategy and I'm trying to build a URL to navigate to a report bypassing the prompts. The report has 2 prompts for dates, then a multi-select prompt (search/add items from one listbox into another). I can get it to answer the date prompts (bypass them), but I can't figure out how to answer the multi-select prompt via the URL. Here's what I have so far...

这适用于日期提示...

This works for the date prompts...

http://SERVERNAME/microstrategy/asp/Main.aspx?Server=SERVERNAME&Project=PROJECTNAME&Port=0&evt=4001&src=Main.aspx.4001&reportID=BC5CAA674A50DB3443440BA94AED6FBB&visMode=0&reportViewMode=1&valuePromptAnswers=1/1/2014^2/02/2014

这就是我试图解决的问题……

And here's what I've tried to tack on the end of that...

^ 3CCBE02841FF006CE442AE8E22DF8B96:346

^3CCBE02841FF006CE442AE8E22DF8B96:346

& elementsPromptAnswers = 3CCBE02841FF006CE442AE8E22DF8B96:346

&elementsPromptAnswers=3CCBE02841FF006CE442AE8E22DF8B96:346

^ 3CCBE02841FF006CE442AE8E22DF8B96; 3CCBE02841FF006CE442AE8E22DF8B96:346

^3CCBE02841FF006CE442AE8E22DF8B96;3CCBE02841FF006CE442AE8E22DF8B96:346

& elementsPromptAnswers = 3CCBE02841FF006CE442AE8E22DF8B96; 3CCBE02841FF006CE442AE8E22DF8B96:346:{000683%3AFOOD%20PROCUREMENT%20%26%20DISTRIBUTION%20MANAGEMENT%20SERVICES @ 346}

&elementsPromptAnswers=3CCBE02841FF006CE442AE8E22DF8B96;3CCBE02841FF006CE442AE8E22DF8B96:346:{000683%3AFOOD%20PROCUREMENT%20%26%20DISTRIBUTION%20MANAGEMENT%20SERVICES@346}

Contract @ 3CCBE02841FF006CE442AE8E22DF8B96 = 346

Contract@3CCBE02841FF006CE442AE8E22DF8B96=346

所以,我迷路了.有人有使用此URL API的经验吗?

So, I'm lost. Does anyone have experience with this URL API?

提前谢谢!

推荐答案

很老...但这是您很久以前需要的...'promptsAnswerXML'参数可以正常工作,它为您提供了一种封装所有内容的方法答案!

Quite old... but this is what you needed long time ago... the 'promptsAnswerXML' parameter works fine and it provides you a way to encapsulate all answers!

https://lw.microstrategy.com/msdz/msdl/901/docs/Passing_Prompt_Answers_Using_the_URL_API.htm

只需用文档包装报告,在自动文本{& PromptXML}的某处插入,运行它,复制自动生成的xml并将其附加到URL.太容易了(请参见图片,摘自文章).

Just wrap your report with a doc, insert somewhere the autotext {&PromptXML}, run it, copy the autogenerated xml and append it to the URL. Too easy (see the pictures, extracted from the article).

这篇关于在MicroStrategy中通过URL回答多个提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆