Handling a specific URL parameter in WCEM
Hi everybody,
Is it possible to handle a specific URL parameter in WCEM ?
For example :
http://site:port/main/wec-startapp.jsf?wec-appid=MYAPP&my-specific-param=MYVALUE
Our need is to call a Business Rule Management System giving WCEM the list of allowed articles in the catalog. Depending on the specific parameter, the BRMS will give a different list of articles.
The value of the specific parameter is chosen by the user at connexion :
- we don't want to add a dropdown list on the connexion screen to choose the parameter value ;
- we don't want to use a different webshop for each possible value ;
- that's why we would like to have one webshop and add a specific parameter in the URL
Do you have an idea ?
Hi Steffen,
Sounds like a solution.
We'll see during the development phase if it fits the needs.
Thanks
Similar Messages
-
How to catch URL parameter from Portal URL in Web Dynpro iView
Hi All,
I have a web dynpro application running as a portal iView successfully. Now the client wants to make it internationalized with 7 languages. Currently they access the portal - and via role assignment they get to the portal tab with the wd iView. Now they want to send a parameter for the language key with the portal URL. So when they are typing in http://myportal.mydomain.com now they want to type in http://myportal.mydomain.com?sap-locale=de or so. My question is how can I catch this parameter in the WD application when it is running inside a portal iView? Is it at all possible?
I have written a very small application which is trying to catch a URL parameter named PARAM. The code I have written is the default one as below:
String paramValue = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("PARAM");
When I run the application standalone and add the PARAM=something in last of the URL I can catch it. But when I create an iView and while previewing it I add the same PARAM value it is coming as null all the time. Same when I add this iView to a role and show it via role assignment in protal. Please help to let me know how to achieve this. I think if I can read the parameter value from Portal URL in the WD iView - then I can set it as the default locale of the application and then show language specific file to achieve internationalization.
Your urgent help will be highly appreciated.
Warm Regards,
ShubhoHi Shubhadip
Even if you get the parameters, how do you internationalize your application? Are you not following the standard way as described in the following link. In this case you never need to capture any such parameter. This is done by the WD runtime automatically .
<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/f4/d95664da179b4db731e21c2e470b72/frameset.htm">Internationalization of WD projects</a>
You can retrieve application parameters specified at the creation of iview by "adding parameters(with the same name as in iview application parameters) to the default plug of the Component Interface View of the WD application". "onDefaultPlug" method of the interface view controller you get these values as parameters, which you can save in the context node of component controller for later use.This is guaranteed to work.
But again this is not what you want exactly. You want the user to specify the value at runtime. If you have just 7 languages, you can create 7 set of iviews with different application parameter value indicating language key, and assign to 7 different set of roles, each representing one set of users with common language.
I hope you find a solution.
Regards
kk -
How to get value of URL parameter
Hi,
If an ABAP Web Dynpro URL looks like this: http://<server>:<port>/sap/bc/webdynpro/sap/zny_test1?sap-client=100&sap-language=EN, how to get value of the URL parameter sap-client at runtime in the application?
Thanks,
NancyThe framework currently strips all the framework specific params.
Perhaps the will be made available in a future release. Thomas, any comments ?
However, I dont understand the requriement to know the sap-client URL value.
If your code is running, a user has successfully connected to system a therefore he has a session open and this session is associated with exactly 1 client at any point in time.
See SYSTEM VARAIBLE SY-MANDT.
this represents the client in which the users session is running and negates the need to see
sap-client URL value.
regards
Phil. -
HTTP Sender - how to read URL Parameter USER id into Mapping
Hi,
My scenario is HTTP - XI - ABAP Proxy.
I wanted to capture USER id of the person who posted(HTTP) into XI(Mapping). How to read/evaluate the value of sap-user from querystring of URL ?
http://HOST:8008/sap/xi/adapter_plain?namespace=http%3A//abc.com/sales_oa&interface=MI_sales_OA&service=DEV_D&party=&agency=&scheme=&QOS=EO&<b>sap-user=SM9999</b>&sap-password=xxxxx&sap-client=001&sap-language=EN
please help.Mallik,
Try URL Parameters in HTTP sender communication channel.
In the sender communication channel set Adapter Specific Message Attributes. Click on Apply URL Parameters. In Parameter1 put sap-user (U can query any URL parameter by giving its name as in the HTTP URL).
Now in SXMB_MONI, in inbound payload SOAP Header, under Dynamic configuration u can see the value of the user. Query the same in Mapping using Dynamic Configuration using keyName as UrlParamOne.
Regards,
Sudharshan N A
Message was edited by:
Sudharshan Aravamudan -
[php+mysql] How to select a column using URL parameter?
Hi all,
I need to select a specific column from a mysql db.
I have the column name in a URL parameter.
How can I set a query so that it sounds like this:
SELECT $_GET['id'] FROM mytable ORDER BY myorder ASC?
I tried everything with dreamweaver but I cannot get anything
similar
to what I need.
Is there a solution?
TIA
tonysweetman wrote:
> How can I set a query so that it sounds like this:
>
> SELECT $_GET['id'] FROM mytable ORDER BY myorder ASC?
You can't do it through the Recordset dialog box. The simple
way to do
it is to create this query in the Recordset dialog box:
SELECT * FROM myTable
ORDER BY myOrder ASC
Then go into Code view and locate the following line:
$query_recordsetName = "SELECT * FROM myTable ORDER BY
myOrder ASC";
Change it to this:
if (isset($_GET['id'])) {
$col = get_magic_quotes_gpc() ? stripslashes($_GET['id']) :
$_GET['id'];
$col = mysql_real_escape_string($_GET['id']);
else {
$col = '*';
$query_recordsetName = "SELECT $col FROM myTable ORDER BY
myOrder ASC";
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
Call View controller with some URL parameter
Hi
I have a 3rd party system which need to send some data to my CRM system.
One approch which is being suggested is by sending data by URL parameter.
I have made a new component for this and have provided the 3rd party with its URL .
The issue with calling a view controller URL along with some specific URL parameters is that i am not able to access its parameters.when i call method GET_PAGE_URL from the DOINIT method of the controller it does not provide me with the parameter list .
How can i access these URL parameters ?
Regards
AjitabhHI,
have a look at component CRM_UI_FRAME. In the page default.htm they extract URL parameters.
You have got the REQUEST variable in your view controller as well.
cheers Carsten -
Need Help on Language specific URL's
Hi,
Im creating URL iview.In that iview i need to provide different HTML links for each language.I've referred the document(http://help.sap.com/saphelp_nw04/helpdata/en/44/aabd5c7e8e0a47e10000000a1553f7/frameset.htm).As per the step 2 mentioned in the above link,I could not found the "Language-specific URL's mode".Can anybody faced the situation?..Pls help me to get rid of this..
Regards,
Murugan aHere is the answer. It is available in SP 18.
See <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/ep/~form/handler">SAP Note 961793</a> -
Sending a url parameter in web Access 2013 application
So we are using a sharepoint Access 2013 application form to enter in data that then uploads to a backend db. The form essentially is a series of reports with a report date and ID, etc. What we are trying to do is find a way to pass a url parameter that
will open up our Access 2013 site to a specific report. Currently if you use the URL in the address box its just a default URL that would open up at the default page of our application. We want it more precise so people don't have to click and
search for the specific report but that it just opens up to the report in question. Does anyone know how to do this? Please let me know if you need more information.Effort to bump this up by giving more info:
So I have a sharepoint site with the url like this:
//Microsoft.445(various).sharepoint.com/reports/default.aspx#Tile=History
So this would take us to the Report site and go directly to the History tab of the page. For this example it would be a running list of reports from say the last month going back 5 years. When you go to this site it defaults to the newest report
so say a report from July 31st and lets say it has a report id of 12335. What I am looking to do is be able to go to a specific report id so lets say I want to give a link for people to go to a report from May 5th with a report id of 12201.
You would think following simple language conventions I would be able to simply add in to the URL above an addition of &ReportID=12201 This does not work however. I've also tried another example I saw in which you add in a where clause
so it would be an addition of Where==reported=12201 This also did not work. Whenever I enter these in it still just defaults to the July 31st report. I cannot seem to find a way to get it to go to a specific report.
Any suggestions? -
Hi All,
I have exposed a URL - http://<IP><Port>/WC/faces/main?userid=1234 - to be called from an EBS application with a parameter value "userid".
While the connectivity and integration works as expected, I have noticed that the URL parameter (1234 in this example) is visible in the browser and can be accessed directly by calling from the browser window itself.
Is there a way to secure the URL parameter such that the user is directed back to EBS login page when trying to access the URL directly in the browser window?
I am using Jdeveloper version 11.1.1.7.
Best Regards,
Ankit GuptaHi Frank,
Thank you for sharing the information.
The prime objective on passing the userid in URL is to display the user logged in EBS, with user-specific information in the ADF page.
So when the url is called from EBS, the invoke action is triggered before the page load to refresh the underlying View Object using the userid passed, and display information on databound tables.
Considering the above use case, is there a better approach of achieving the same?
Best Regards,
Ankit Gupta -
I use google for my search engine. I do not have any reference to Yahoo in my plugins or extensions on Firefox. Every time I enter a specific URL in the Firefox box, Yahoo comes up, has the full URL I entered to go directly to. It has the URL in the Yahoo search entry field and it parses the name to several words that make up the entire URL. Asks me if I only want the name I entered and lists every site that contains the words it parses... Yahoo is really screw up if it hijacks the browser. How do I prevent them from doing this...
Hi,
The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
To Reset Firefox do the following:
#Go to Firefox > Help > Troubleshooting Information.
#Click the "Reset Firefox" button.
#Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
#Firefox will open with all factory defaults applied.
Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
Did this fix your problems? Please report back to us! -
How to change the fields in a JSF form based on a URL parameter
I am trying to build a generic JSF form of parameters which I want to dynamically change (i.e.
change which field is visible, what the label text should be, etc) based on a URL parameter.
I can set the fields using logic in the backing bean as an action on a command button pressed.
But how do I do it based on the URL parameter ? I can retrieve the URL parameter but I
don't know where to put (or hook) the Java code to do this initialization prior to
the page being rendered for the first time.
The fields in the JSF is being configured dynamically using a database table.
BTW I am using Jdeveloper 10.1.3.5
Thanks
CKThanks. I decided to set a Session bean to store the value of the URL parameter (if it is set)
and then to use the session bean to initialize the attributes of the fields on the JSF Page.
There also seems to be some caching of the inputText fields (i.e. it reverts back to the first
initialized value) even though I tried to change it using the URL parameter in the requestScope
backing bean. So, setting the values into the Session bean and retrieving it back from there
seems to be more reliable. -
How can I pass URL parameter value to text field?
Dear Masters,
I have a text field. I want it to have a value based on the URL parameter, for example:
http://myapplication.net:7777/pls/apex/f?p=102:1:::::P1_RTNUM:9448,P1_EMAILADD:email.add.here
I want the value of the text field = P1_EMAILADD after the form was loaded. Also, please have it read-only.
Thanks a lot.
Edited by: user6368519 on Sep 16, 2009 11:39 PMThanks Saad,
Can I email you(I would need your email) for any concerns or just create a new thread for you to look?
This is ok now. I'm sorry but I just marked this one as an "answered" one last time.
Thanks for all the help again I appreciate it. ;)
Thanks,
Aaron
[email protected] -
How can I pass empty value in URL Parameter
Hi,
I am passing different URL parameters to one page, to filter
the recordset on that page. How can I pass an empty value in the
URL parameter so that the recordset in unfiltered?
The URL parameter is based on one field of the database:
ContentType. So, the link would be to
default.asp?ContentType=Event
and then all records that have the ContentType field in the
DB as Event are displayed. Is it possible to use this system to
pass an empty parameter so that all records are displayed?
Thanks
Ian?ContentType=All
<% if (ContentType == "All")
Build recordset w/o filtering
ASP is rusty, but those are the basics.
"iandobie" <[email protected]> wrote in
message
news:e8im80$q7m$[email protected]..
> Hi,
> I am passing different URL parameters to one page, to
filter the recordset
> on
> that page. How can I pass an empty value in the URL
parameter so that the
> recordset in unfiltered?
> The URL parameter is based on one field of the database:
ContentType. So,
> the
> link would be to
> default.asp?ContentType=Event
> and then all records that have the ContentType field in
the DB as Event
> are
> displayed. Is it possible to use this system to pass an
empty parameter so
> that
> all records are displayed?
> Thanks
> Ian
> -
How can I add a url parameter to choose the right database row to delete using php in Dreamweaver CC
Hi all,
I have just upgraded to Adobe Creative Cloup. Though I find it very good there was one flaw and that was the omision of the database section. I got this sorted but now I find that once I have set up the connection to the database and want to eithger delete or update records there is no 'url parameter' button to do so. Can someone advise we how to get round this.
Seasons Greatings from
David JThe link will look similar to
myPage.php?ID=myVariable -
How to pass mysql query id through url parameter to a detail page
Hi there,
I am a newbie to JSP and I am trying to pass a url parameter to a detail page so that it will query a mysql data query to show the details of that query. How can I write the query on the details page so that it will display the query results on the page. eg select * From data Where = "passed_url parameter_ value". Please i need urgent help on this please.<Acknowledged>
which should be strongly cautioned against even for "newbies".
</Acknowledged>
Right, but the code you posted will "work" in a very harmful wayNot always, I used normal Statements last year and I had no problems.
Even with pretty capible code brakers trying to cause $h!t with my application.
Just check for invalid datatypes, and for SQL Injections remove stuff like ' or replace with `
But yes PStat... are the better way.
Maybe you are looking for
-
Help: Airport Remote Speakers No Longer Showing in iTunes
Hello! After 2 years of streaming music to my remote speakers via iTunes and Airport Express (AX), I've had my first real issue. I have not been able to figure this out, and am at my last strand of sanity. My AX is connected to a pair of speakers in
-
Body and Attachment both in a mail
Hi, I am working to send a mail from XI. My present scenarion is like this: I am using xslt mapping to generate code for a html page using source and using dumy target. Now I am using module adapter "localejbs/AF_Modules/MessageTransformBean" for get
-
Hi All, we have define pricing procedure in sales and distribution and the tax calculation procedure in finance. Scenario is:- Tax condition define in the Pricing procedure is. Proc. Step Cntr CTyp From To Man. SubTo
-
BPC 7.5 NW -- Allocation Issue -- Good Illustration
Hi all, I've been struggling with a fundamental issue with the way the Allocation process works on the Netweaver platform. But, this might be an easy way to illustrate the problem. This data is typical representative what has been loaded to a test
-
Which do I choose (address book or iPhone contacts) when I have a sync conflict with my contacts after downloading new iPhone OS?