Understanding the RH Server Query String
Hello -
This is my first post in the forums. I'm technically a new RoboHelp user, although I've been prepping for our company's move to RH/RH Server for a year.
I'm configuring my projects, layouts, and server areas for our migration and populating some test content for our development team's use. I'd like to better understand the operators within the query string that is generated when I publish my project to RH Server.
For example, when published to my server, I'm getting the following URL:
http://10.10.10.46:8080/Production/server?&area=live&mgr=agm&agt=wsm&wnd=HLCAdmin|HSStanda rd&tpc=/Production/Production/server/live/projects/HLCAdmin/Administrator.htm?RINoLog28301 =T&ctxid=&project=HLCAdmin
Is there a resource that lists the various operators that appear within the URL? Or, can anyone help me identify what each of the following controls? (I've filled in the ones I believe I understand.)
area = The Area I published to in RoboHelp Server.
mgr = ?
agt = ?
wnd = The Window I defined as the default for this project.
tpc =
ctxid =
project = The name of the published Project.
Hi Aaron.
As I suspected the tpc prefix is your context name. I am less sure about the following as they do not seem to have any values against them in any of the URLs I have.
* mgr = ?
* agt = ?
These may be related to the connection settings to your DB but I am still trying to confirm this.
The RoboColum(n)
@robocolumn
Colum McAndrew
Similar Messages
-
Www server: query string possible?
Hi,
I must write a cvi application to communicate with an iphone and android app. My idea is to use the (simple) web server in cvi. After two hours, the server runs perfect and I can fetch documents from the server.
My question is now: is there any possibility to write data (only a few queries) from the client to the web server, so that the web server is able to detect/utilize the data (client push technology)? All attempts were in vain.
Many thanks in advance
JürgenHi Jürgen,
I'm not 100% sure if I understand you correctly but concerning your topic I found two Links:
Understanding Client-Server Applications -- Part I
http://zone.ni.com/devzone/cda/tut/p/id/4431
Understanding Client-Server Applications -- Part II
http://zone.ni.com/devzone/cda/tut/p/id/4433
Even the code examples are written in Labview you can have the same commands in CVI.
Best Regards
Jan -
I can not connect to the database via C#. The database is showing full path of the database file instead of the database name. See the pic: a database showing only name 'emart' and the other database showing the full path.
: RobbyHi,
According to your post, I know that the database name is showing file path of the database rather than the database name in SQL Server Management Studio. You were not able to
establish a connection to the database using C#.
As Olaf said, was any error message thrown out when the connection failed? How did you create these databases?
You can use the following T-SQL to attach the database and see if the issue persists.
CREATE DATABASE
databasename
ON (FILENAME = 'filepath _Data.mdf'),
(FILENAME = 'filepath_Log.ldf')
FOR ATTACH;
Thanks.
Tracy Cai
TechNet Community Support -
Try to understand the Application Server
Assume there are three web sites hosted in an Application Server, they are www.1.com, www.2.com, and www.3.com, repectively.
When a user in somewhere type in www.1.com in his/her browser, the server machine that hosts the web sites will be located first. Then how is each individual web site located on the server, remember there are thee web sites hosted on the same machine?
Thanks to help
ScottHi,
CHapter I
http://iasdocs/iasdl/101200doc/web.1012/b14007.pdf
is a good starting point.
regards -
Passing a portlet parameters on the Query String
Hello,
We have a portal page with a portlet on it and would like to be able to make this portlet dynamic by using additional parameters on the portal url query string.
Back in version 5, I was told that this couldn't be done. Perhaps someone knows whether the G6 portal supports this?Yes, you can pass portal url into porlet in G6.
1. You have to check box "HostPageURI" (don't remember exactly, but close to this one) on User Information page for Web Service.
2.Use getHostPageURLQueryString() method (for IPortletRequest) to retrive QueryString value;
3. Parse url value manualy to access parameters and values.
But think twice before do this. This is because there are more effective ways to pass data and "make portlet dynamic":
1) Portlet Settings (classic way, total page refresh);
2) Adaptive portlets techology (inline refresh, passing data to other portlets on the same page);
3) Portal Session object (for G6). Way to pass data to portlets placed on different page.
Edited by Bryazgin at 01/18/2007 7:11 PM -
Can you control a URL in eloqua from being adding the query string??
If I am inserting a URL in an email, i cant seem to stop eloqua from adding extra parameters in the form of query string in eloqua.
I want to make this happen because the URL doesnt seem to work if we add any extra parameter using query string.I've tired doing this and it did not work for me. However, I was able to find a solution that helped me a whole lot.
After running all test runs - I found a solution that helped me take off the extra parameters that Eloqua adds to all URL's.
I created my urls without placing "http://" or "https://" or http://www." or "https://www." and that helped take off all tracking.
Re: Use of tinyUrl -
Example to use Query String in Oracle Access Manager Policy.
Hi All,
Can any one please tell me what is the use of Query String and Query String Variable in OAM Policy?
If possible please explain with a sample example.
Thanks in Advance.
Siva Pokuri.Query string is used to protect URL with complete query string.
Ex: in case you want to protect http://hi.com/first.html?uid=abc&pqr=123 URL then you will specify query string as uid=abc&pqr=123.
In case you want to protect a URL with one of the query parameter as xyz and you do not care of other query parameters, then query string variables are used.
Ex: in case you want to protect http://hi.com/first.html?uid=abc&pqr=123 and http://hi.com/first.html?uid=abc&pqr=456 both with same policy then you will create a policy to protect first.html and in query string variables you will specify uid=abc.
Let me know if you have any problems in understanding this.
Thanks
Kiran Thakkar -
how to use "doget", any example for me reference.
if i would like to pass the variable by querystring, can i add the variable in URL like this:
go home
but how can i get the ID in query string in home.jsp???1. I can't understand the line of code that you just gave
What are you trying to put as the query string is not clear to me. If you are thinking that that code will call the toString method on any ID object, then it won't
2. To access the value of the ID parameter in home.jsp, you can use scriptlets or EL
<%=request.getParameter("ID")%>
${param.ID} -
FLVPlayback source with query strings (parameters) doesn't load
Flash version: CS4
AS version: AS3
I'm currently trying to use the FLVPlayback component and pass a source FLV that's living on a cloudfront webserver. The problem is that the cloudfront requires authentication in the form of query strings in the source FLV. For example:
import fl.video.*;
var mainMovie:FLVPlayback = new FLVPlayback();
mainMovie.source = "http://www.somedomainname.com/firmware.flv?dummyquery=22";
trace(addChild(mainMovie));
As soon as I take away the "dummyquery", it works fine. When I add a query string, it breaks (nothing loads).
Here is the error output I get:
[object FLVPlayback]
VideoError: 1005: Invalid xml: URL: "http://www.somedomainname.com/firmware.flv?dummyquery=22&FLVPlaybackVersion=2.1" No root node found; if url is for an flv it must have .flv extension and take no parameters
at fl.video::SMILManager/http://www.adobe.com/2007/flash/flvplayback/internal::xmlLoadEventHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
It adds on "&FLVPlaybackVersion=2.1" to the end.
I saw a different article that said I should add a dummy variable at the end like "&dummy=.flv" because I was told that Flash is basically looking for an .flv extension at the end and you can trick it, but it doesn't work because they add on additional code.
Does anyone know how to work around this?Hey supervu,
I know you already found a workaround to make this work, just figured I'd post an alternative to editing the FLVPlayback compoent. I also am retrieving an FLV file via a .Net ASHX file. To keep both worlds happy, I used a URLRewriter module to translate for me... this one translates what I am using for the FLVPlayback component source:
http://domain.com/flv/22.flv to be resolved as http://domain.com/API/resource.ashx?ID=22
There is of course no flv folder in the root of my application...
Here is my very simple URLRewriter class in vb.net:
Imports Microsoft.VisualBasic
Imports System
Imports System.Web
Public Class URLRewriter
Implements IHttpModule
Public Sub Init(ByVal inst As System.Web.HttpApplication) Implements System.Web.IHttpModule.Init
AddHandler inst.BeginRequest, AddressOf Me.OnBeginRequest
End Sub
Public Sub OnBeginRequest(ByVal app As Object, ByVal e As EventArgs)
Dim inst As HttpApplication = CType(app, HttpApplication)
Dim req_path As String = inst.Context.Request.Path
Dim trans_path As String = ""
Dim search As String = "/flv/"
Dim pos As Integer = req_path.IndexOf("/flv/")
If pos > -1 Then
Dim key as string = req_path.Substring(pos + search.Length, (req_path.LastIndexOf(".flv") - (pos + search.Length)))
HttpContext.Current.Response.Redirect("~/API/resource.ashx?ID=" & key )
End If
End Sub
Public Sub Dispose() Implements System.Web.IHttpModule.Dispose
End Sub
End Class
and make sure you add this to your web.config.. this will cause URLRewriter to intercept all HTTP requests, and redirect as needed.
<system.web>
<httpModules>
<add name="URLRewriter" type="[Namespace].URLRewriter"/>
</httpModules>
</system.web>
Hope this helps someone. -
In JDBC Sender Adapter , the server is Microsoft SQL .I need to pass current date as the input column while Executing stored procedure, which will get me 10 Output Columns. Kindly suggest me the SQL Query String , for executing the Stored Procedure with Current date as the input .
Hi Srinath,
The below blog might be useful
http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/03/06/executing-stored-procedure-from-sender-adapter-in-sap-pi-71
PI/XI: Sender JDBC adapter for Oracle stored procedures in 5 days
regards,
Harish -
Hi,
I'm trying to setup an App-V environment in my lab.
I've used the App-V 5.0 Trial guide to help me configure all necessary components.
I'm able to install everything without error.
when come time to publish an app, it simply doesn't show up on my client.
after looking at events on the client and server, I found that the Publishing server is returning under Admin the following message.
'The request URL doesn't contain the query string for the client OS'
My setup is pretty simple.
App-V Server managament and Publishing on the same box
App-V database on my SQL server.
I'm able to see the publishing "webpage" by using http:://localhost:889.
It only display this :
-<Publishing Protocol="1.0"
<Packages />
</Publishing>
I've published one app from the management console.
any idea what could mean this error?
thanksHi,
thanks for the link.
I've validated the suggested debug steps. It seems that the problem is with my Publish server again.
I've looked in the web.config file. It seems to be missing some parts compare to the example provided.
Again, I've published an application from the management console. Management and Publishing are running on the same box, while SQL is remote.
Here's the web.config
<?xml version="1.0" ?>
- <configuration>
- <system.web>
<compilation debug="false" targetFramework="4.0" />
<machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" />
- <authentication>
- <!-- We don't support form authentication, but this will supress x-ray security warning
-->
<forms requireSSL="true" />
</authentication>
</system.web>
- <system.webServer>
- <modules runAllManagedModulesForAllRequests="true">
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</modules>
- <security>
- <requestFiltering>
- <verbs>
<remove verb="GET" />
<add verb="GET" allowed="true" />
</verbs>
</requestFiltering>
</security>
</system.webServer>
- <system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
+ <behaviors>
- <serviceBehaviors>
- <behavior name="">
<serviceAuthorization impersonateCallerForAllOperations="true" />
<serviceMetadata httpGetEnabled="false" httpsGetEnabled="false" />
</behavior>
</serviceBehaviors>
</behaviors>
- <bindings>
- <webHttpBinding>
- <binding name="SecureBinding">
- <security mode="Transport">
<transport clientCredentialType="Windows" />
</security>
</binding>
<binding name="UnsecureBinding" />
</webHttpBinding>
</bindings>
- <protocolMapping>
<add scheme="http" binding="webHttpBinding" bindingConfiguration="UnsecureBinding" />
<add scheme="https" binding="webHttpBinding" bindingConfiguration="SecureBinding" />
</protocolMapping>
- <standardEndpoints>
- <webHttpEndpoint>
- <!--
Configure the WCF REST service base address via the global.asax.cs file and the default endpoint
via the attributes on the <standardEndpoint> element below
-->
<standardEndpoint name="" helpEnabled="true" automaticFormatSelectionEnabled="true" />
</webHttpEndpoint>
</standardEndpoints>
</system.serviceModel>
</configuration> -
QSUF (Query string url filter) and SQL Server reporting services report viewer parameters
Hi,
this is my issue:
I have a SQL Server reporting services web part on a page with a report with 1 parameter, lets say it's a client list
Then i have a QSUF that will be used to filter the clients list through the URL
However, once i connect the filter and the report viewer web part, the parameter goes away and is no longer accessible
I'd like to somehow keep the parameter visible, in case there is no parameter sent through the URL, i would like the user to be able to choose a client from the parameter drop down list
I saw that there is a "send empty if no values are passed" option, but i can't seem to get this working properly and i don't know if this option will make the parameter visible again
Any help would be appreciated
Thanks.Hi,
According to your post, my understanding is that the query string url filter web part not worked well with SQL server reproting services web part.
Did you use the Wiki page layout in your environment?
You can change the page to a web part page, then check whether it work.
There is a similar thread for your reference.
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/4d7584e3-8e1a-48bf-9346-32f8cb480dd1/query-string-url-filter-web-part?forum=sharepointgeneralprevious
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Getting extracter 'N' in query string from weblogic server
hai,
I am using weblogic7.0 as app server and mssql2000 as database server.
When writing sql queries i am using prepared statements.
Ex:
PreparedStatement pstmt=con.preparedStatement("select email from temp where tempid=?")
pstmt.setString(1,"0000A");
after executing the above query. If i check the query statement in database profiler
then i am getting the following stament:
select email from temp where tempid=N'0000A';
here i am getting an extra character 'N' in the query string.
Can anybody tell me how can i avoid that.
Thanks in advance
--durgadurga wrote:
hai,
I am using weblogic7.0 as app server and mssql2000 as database server.
When writing sql queries i am using prepared statements.
Ex:
PreparedStatement pstmt=con.preparedStatement("select email from temp where tempid=?")
pstmt.setString(1,"0000A");
after executing the above query. If i check the query statement in database profiler
then i am getting the following stament:
select email from temp where tempid=N'0000A';
here i am getting an extra character 'N' in the query string.
Can anybody tell me how can i avoid that.
Thanks in advance
--durgaHi. The driver is putting that there to ensure that if your parameter is a
true-16-bit character that the DBMS doesn't corrupt it.
If your string data are guaranteed to be simple English 7-bit ASCII
characters, there's a driver property you can add to the pool connection
properties that will tell the driver not to put the "N'" prefix. This is
an important performance benefit because the "N'" will stop the DBMS from
using varchar indexes in searches.
If you are using the weblogic mssqlserver driver, add the useVarChars=true
property. If you are using the MS free driver or the DataDirect driver,
add a property sendStringParametersAsUnicode=false.
Joe -
Hi,
I want to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part like mentioned below:
http://server/pages/Default.aspx?Title=Arup&Title=Ratan
But it always return those items whose "Title" value is "Arup". It is not returned any items whose "Title" is "Ratan".
I have followed the
http://office.microsoft.com/en-us/sharepointserver/HA102509991033.aspx#1
Please suggest me.
Thanks | Arup
THanks! Arup R(MCTS)
SucCeSS DoEs NOT MatTer.Hi DH, sorry for not being clear.
It works when I create the connection from that web part that you want to be connected with the Query String Filter Web part. So let's say you created a web part page. Then you could connect a parameterized Excel Workbook to an Excel Web Access Web Part
(or a Performance Point Dashboard etc.) and you insert it into your page and add
a Query String Filter Web Part . Then you can connect them by editing the Query String Filter Web Part but also by editing the Excel Web Access Web Part. And only when I created from the latter it worked
with multiple values for one parameter. If you have any more questions let me know. See you, Ingo -
How to manage Locale info in the URL path, but not the query string
We are building an application using Struts 1.1 and Tiles, on Oracle Application Server 10.1.3.3...
I know this is a strange question... but we have a requirement to represent the locale info in the URL string using one of the following options:
option 1: /eng/page.do?id=2 for english.../fra/page.do?id=2
option 2: /page-eng.do?id=2 for english.... and /page-fra.do?id=2 for french
We need to represent the 3 letter ISO lang code either in the directory structure, or suffix the page name (in our case, the struts action name)... we cannot replicate this using a parameter in the query string. I know this is odd, but that is what we are told to implement.
Is there any robust way of implementing either option in Struts 1.1, JSP, JSTL etc...?
Currently, we are looking at using a servlet filter to intercept the HTTP requests, parse the URL string, and extract the ISO lang value, and set locale and forward on the request.
This poses a few problems... adding additional action mappings (page-eng... page-fra... page) to our struts-xml.config file to handle lang permuations... but the biggest issue is all the embedded html:link action values throughout our code...
Because all our public facing URLs must comply with the rule, we need to change the html:link action to point to a different action, based on locale.
Very inefficent, and I'm sure not industry standard best practice... we are using Tiles, and resource bundles for all our labels etc... but fall short in meeting this rule with regards to URLs and locale.
Any advice or tips etc.. is greatly appreciated.The filter option sounds like a good solution. So it can receive the urls and parse them appropriately.
You just need to take it one step further.
Additional actionmappings in your struts-config should not be necessary.
Filter:
- analyses the url and sets the appropriate locale
- adjusts the url such that the next level of the chain does not have to know anything about the locale being encoded in the url string.
Thus your struts classes and mappings can remain unchanged
/eng/page.do or /fra/page.do once through the filter should just look like /page.do to struts.
That should get rid of half of your headache.
Next the issue of generating urls.
There are two approaches I can see here
1 - use the filter approach again, this time with some post processing. Gather the generated HTML in a buffer, and do a find/replace on any urls generated, to put the locale encoding into them.
2 - Customise struts to produce urls in this format. This would involve the html:link tag, and the html:form tag at the least (maybe others?). Get the source code for struts, and grab the html:link tag code. Extend that class to generate urls as you want them to be generated. I think you would need to extend the class org.apache.struts.taglib.html.LinkTag and override the protected method calculateURL. You would then have to edit/modify the struts-html tld to point the link tag at your classes rather than the standard ones.
Option 1 is architecturally good because it gives you a well defined layer/border between having the locale encoded in the url, and not having it there. However it involves doing a find/replace on every html going out. This would catch all urls, whether generated by html:link tag or not.
Option 2 requires customising struts for your own requirements, which may be a bit daunting, but has the advantage of generating the urls correctly without the extra overhead involved with option 1. Of course you would have to ensure that ALL urls are generated with the html:link tag.
On reflection, I think option 1 is preferable, as both easier and quicker to implement, and doing a better separation in the architecture.
Cheers,
evnafets
Maybe you are looking for
-
When I try to start up iTunes I get a Windows - No Disk error. I cancel it three or four times and it goes away but iTunes will not boot up. Then it comes up with another message that says "The folder 'iTunes' cannot be found or created, and is requi
-
I installed the new Mavericks update on my MacBook Pro when it was released and offered free of charge. After that my computer started crashing on a regular basis, upon the realization that my warranty was due to expire at the end of the year I took
-
How do I take the music from my iPod and load it onto a new computer?
I had to clear the contents from my hard drive and reload everything. When I restart iTunes, I can't get my music back. I don't care if it's on this computer again or another computer, but does anyone have any advice how I can just get my music? I
-
I can split out multiple archive databases just like I split out multiple primary databases on Exch 2013, correct? Thank you.
-
E-Filing UK in ECC6 without XI / PI ?
Hello, We did a releasechange from 4.7 to 6.0 and according to the SAP help files and other information it's not longer possible to send EOY and other forms to HMRC by using the business connector. It has to be done now with XI/PI (Exchange Infrastru