How to use the caseccading parameter in my ssrs report? with some scenioro?

Hi i have a complex report for that i am using the 3/4 parameters name list.
parm1:ProductId
parme2:manafacturer
pram3:productname
so here i will use these 3 paramters in my ssrs report .
so here i will create a casecading parameters using the above 3 parameters.
But here my requirement is..
1)for my user selcction select the paramater1  as ProductId based on the productID parameter the 2 nd 3 paramters
i want to display automatically without user selection
2),Here every productid have a single productName and single manfacturer
 and here i dnt need the drop down list of 2 nd 3rd parameter for user selection. i need only the text boxes
4)am alredy tried for this but i will able to see only one value in the user selection of param1.but it would not change for the second selection
5)can you give me some idea hw would i show u 2nd and 3rd parameteer based on 1st paramter value without drop down list for my user seletion of my first parametr1
I guess u understand my requirement.
can you suggest me any help .....for the above requirement.
ThanX!

In your case you need to setup parameters like this
1. ProductId
Have a dataset which gives you list of productids. It should return atleast one field which would be the distinct productids from your table. 
ie like
SELECT ProductID
FROM ProductTable
assuming ProductID is it Primary key
In report go to parameter properties for ProductId parameter
In Available Values tab choose the option Get values from query
Map the above dataset and choose value field name as ProductId and label also as the same
This will populate param 1 with values
2. Manufacturer
Have a dataset which gives you list of manufacturers. It should return atleast one field which would be the distinct manufacturer from your table. 
ie like
SELECT Manufacturer
FROM ManufacturerTable m
WHERE EXISTS (SELECT 1
FROM ProductTable
WHERE ProductId = @ProductId
AND Manufacturer = m.Manufacturer
assuming Manufacturer field has unique values. map @ProductId query parameter to SSRS parameter ProductId you created above
In report go to parameter properties for Manufacturer parameter and map the parameter to dataset as per same sequence of steps before
3. Product
Have a dataset which gives you list of manufacturers. It should return atleast one field which would be the distinct manufacturer from your table. 
ie like
SELECT ProductName
FROM ProductTable m
WHERE ProductId = @ProductId
assuming Manufacturer field has unique values. map @ProductId query parameter to SSRS parameter ProductId you created above
In report go to parameter properties for ProductName parameter and map the parameter to dataset as per same sequence of steps before
Now if you run the report the values for Manufacturer and ProductName keeps on changing based on value you chose for productid parameter
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page

Similar Messages

  • How to use the "out" parameter in idl

    hello.idl:
    module HelloApp
    interface Hello
    string sayHello();
    void getPass(in string name,out string pass);
    HelloServer:
    public class HelloServer
    class HelloServant extends _HelloImplBase
    public void getPass(String name,org.omg.CORBA.StringHolder pass)
    System.out.println("Server pass = " + pass);
    if (name.equals("lxh"))
    pass = new org.omg.CORBA.StringHolder("1234");
    if (name.equals("cbj"))
    pass = new org.omg.CORBA.StringHolder("5678");
    HelloClient:
    public class HelloClient
    public static void main(String args[])
    try{
    org.omg.CORBA.StringHolder Pass = null;
    if (args.length == 1)
    System.out.println("Client pass = " + args[0]);
    helloRef.getPass(args[0],Pass);
    System.out.println(Pass);
    } catch(Exception e) {
    When I run client main method with parameter "lxh",I will get a error says the getPass() parameter which has given is wrong.
    How to use the out parameter in client?

    Does this error only occurs if you pass "lxh" or always?
    Did you try passing a StringHolder Object rather than a NULL Object?
    Perhaps you can post the error message!?

  • How to use the out parameter of a transformation

    Hi All,
    I have a requirement where I need to move all the transformations from process flows to map.SO for each transformation I need to have 1 map which calls this transformation.I have 1 transformation which has both input and output parameter.If I use this transformation in mapping then how to use the out parameter of thsi transformation.This out parameter needs to beused in other mappings.Can soemone please help me.
    Thansk in advance

    Hi,
    I'm not quite sure what you are trying to do.
    What works: Connect the outgroup of a pre- or post-mapping process operator to the mapping output parameter operator..
    What does not work: Connect the outgroup of an operator that can return more than one row (e.g. table operator, filter, joiner ,...) to the mapping output parameter operator. The mapping output parameter just returns "one row", like a pl/sql function call.
    You cannot pass a "data stream" from one mapping to another. Maybe the pluggable mappings is what you are looking for.
    Regards,
    Carsten.

  • How to use the region parameter of main report for subreport chart titles?

    I am using Crystal Reports 11.
    I create 1 main report with 10 sub-reports that contain cross-tabs & charts. The main report has a parameter regarding 3 different areas: region1, region2, and region3.
    I use the method of adding the u2018regionu2019 parameter of main report to the selection formula of the sub-reports. So, I can select 'region' from main report to controll outputs in sub-reports by region.
    I use formulas for chart titles, e.g.:
    Select {Product Code}
    Case 'a111':
      u2018Region1 u2013 a111 Counts'
    Case u2018b222u2019:
      u2018Region1 u2013 b222 Counts'
    u2026
    u2026
    Default:
    u2026
    Since I pass the u2018regionu2019 parameter of main report to sub-reports, I have to change chart titles dynamically based on the region I select.
    How can I use the region parameter from main report in the formulas to get chart titles dynamically?
    Thank you in advance.

    Thank you.
    I am not using Chart Title with "Chart Expert".
    I am using a formula for chart titles, e.g.:
    Select {Product Code}
    Case 'a111':
      u2018Region1 u2013 a111 Counts'
    Case u2018b222u2019:
      u2018Region1 u2013 b222 Counts'
    u2026
    u2026
    Default:
    u2026
    I drag this formula above the charts and it looks like a dynamic title. So, for product a111, the chart title would be "Region1 u2013 a111 Counts"; for product b222, the chart title would be "Region1 u2013 b222" Counts; and so on ...
    Because I pass the region parameter from master report to subreport, I want to change the region part of the chart titles dynamically.
    For example,
    when select Region1, the chart titles should be: "Region1 u2013 a111 Counts"; "Region1 u2013 b222"; ...
    when select Region2, the chart titles should be: "Region2 u2013 a111 Counts"; "Region2 u2013 b222"; ...
    I want to add the region parameter into the tiltle formula.
    How should I do?

  • How to use different default parameter value for different report subscriptions

    In ssrs is it possible to define different default parameter values for different subscriptions? In the following example I have a report which has two subscriptions with different start date and end date values:
    Report name – Testsubscription.rdl
    Subscription-1
    Input parameter (default values):
    start_date = first day of current Month
    end_date = till date
    Subscription-2
    Input parameter (default values):
    start_date = first day of current Quarter
    end_date = till date
    I know an alternative way of doing this would be to copy the rdl file with a different name but I am curious whether this can be done within a single report definition file. I am using SQL Server 2008 R2 Standard Edition.
    Thanks!
    spp

    Hi sppdba,
    As per my understanding, there is a report with two parameter: start_date and end_date, you want to configure subscription for the report, and set different default values for start date and end date. And you want to know if it is possible to achieve you
    goal by using a single report definition file.
    Since you are using SQL Server 2008 R2 Standard Edition, we need to achieve your goal by configuring two subscriptions for the report. For detail information, please refer to the following steps:
      1. In design surface, right click start_date and open Parameter Properties dialog box.
      2. In General pane, type Name and Prompt, set Data Type to Date/Time.
      3. Click Available Values in left pane, select Specify Values.
      4. Click Add button, in Label text box, type “First day of Current Month”, click (fx) button in Value section, then type the expression like below:
    =DateSerial(Year(Now()), Month(Now()), 1)
      5. Click Add button, in Label text box, type “First day of Current Quarter”, click (fx) button in Value section, then type the expression like below, then click OK.
    =DateSerial(Year(Now()), (3*DatePart("q",Now()))-2, 1)
      6. Right click end_date and open Parameter Properties dialog box.
      7. In Available Values pane, select Specify Values.
      8. Click Add button, in Label text box, type “Today”, click (fx) button in Value section, then type the expression =Today(), then click OK.
    Now that the parameters are created, we need to configure subscription for the report. For detail information, please follow these steps:
      1. Open Report Manager, and locate the report for which you want to create a new subscription.
      2. Hover over the report, and click the drop-down arrow.
      3. In the drop-down menu, click Manage. This opens the General properties page for the report.
      4. Select the Subscriptions tab, and then click New Subscription.
      5. Select the delivery extension and data source for the subscription.
      6. Select a method of delivery, then choose report delivery options.
      7. Specify conditions that cause the subscription to process and delivery to occur.
      8. Set start_date to First day of Current Month, end_date to Today, then click OK.
      9. Create a new subscription as step4 to 7, set start_date to First day of Current Quarter, end_date to Today, then click OK.
    The following screenshots are for your reference:
    For detail information about Creating Standard Subscriptions, please refer to the following document:
    http://msdn.microsoft.com/en-us/data/ms156307(v=sql.105)
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • How to use the find Iphone app on two devices with the same itunes and apple id number?

    I have two Iphones connected to the same apple id . I am unable to use the find my iphone app on both devices. It only works on one!! Please help! It is driving me crazy lol!!

    The app should locate both phones if they are using the same iCloud account and the app is signed into the account.  If they are using different account, sign out, then sign back in with the other account to track the other phone.
    If one of them isn't showing and you're signed into the correct iCloud account, go to Settings>iCloud on the phone in question and turn Find My iPhone Off, then back On.

  • How to use string as an expression in SSRS reports

    Hello all,
    I have created a SSRS report in which I have used a tablix and a single dataset (ds_test)
    Now the dataset use t-sql and  is calling a table in which has data as shown below:
    What I am trying to do is to use this as an expression inside the cell of the tablix. But when I run the report It give me:
    But It should show the result as "True", I know it is taking this as a string but is there any way so that we can use this as an expression in the report
    NOTE: We cannot use this directly in report , because this is generated dynamically and should always present in DB tables only
    Thanks in advance
    Pankaj Kumar Yadav-

    So your table has a varchar column with 'iif(1=1,True,False)'  in one of the records ?
    yes
    Pankaj Kumar Yadav-
    You wont be able to pass a value from db like this and use this as an expression inside SSRS.
    If you're using SQL 2012 you can exec this expression using dynamic sql and then show return value as is in a SSRS report.
    SSRS is a presentation tool with limited scripts and it cant do any query processing against database. that part have to be implemented using t-sql query on backend (dataset)
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to delete the values of a vector of map with some conditions?

    Hi Friends!
    I have three map<int, vector<int>>
    mainmap, m1, and m2.
    m1 contains;
    2=>9  16
    3=>11  16
    4=>13
    mainmap contains; (keys of m1 are selected out of keys of mainmap)
    1=>10  13  0  12  15
    2=>12  0  0  11  0
    3=>13  0  0  0  0
    4=>14  11  12  0  15
    m2 contains; (keys of m2 are the values of mainmap)
    11=>9  16
    12=>3  12
    13=>11
    14=>3  9  16
    15=>1  3  6  9  16
    I want to execute the following tasks;
    first, pointing key '2' from m1 and the correspondent vectors are selected from mainmap with same key '2' (12  0  0  11  0).
    second, out of the selected vector(keys of m2) are selected to compare the values of m2 and values of m1.
    here ;
    11=>9  16
    12=>3  12
    are selected.
    Out of these selected figure (11=>9; 12=>3  12) if the value (9, 16) are fully matched, that key '11' is selected.
    Suppose, in case the selected figure is (11=>9; 12=>3  12), that is partially matched as only 9 is available, then 16 is deleted from the value of 2 in m1, and select the key '11' from m2.
    Then, it continues up to key '4' in m1.
    Could anyone help me to solve this?

    Hi Friends!
    I have three map<int, vector<int>>
    mainmap, m1, and m2.
    m1 contains;
    2=>9  16
    3=>11  16
    4=>13
    mainmap contains; (keys of m1 are selected out of keys of mainmap)
    1=>10  13  0  12  15
    2=>12  0  0  11  0
    3=>13  0  0  0  0
    4=>14  11  12  0  15
    m2 contains; (keys of m2 are the values of mainmap)
    11=>9  16
    12=>3  12
    13=>11
    14=>3  9  16
    15=>1  3  6  9  16
    I want to execute the following tasks;
    first, pointing key '2' from m1 and the correspondent vectors are selected from mainmap with same key '2' (12  0  0  11  0).
    second, out of the selected vector(keys of m2) are selected to compare the values of m2 and values of m1.
    here ;
    11=>9  16
    12=>3  12
    are selected.
    Out of these selected figure (11=>9; 12=>3  12) if the value (9, 16) are fully matched, that key '11' is selected.
    Suppose, in case the selected figure is (11=>9; 12=>3  12), that is partially matched as only 9 is available, then 16 is deleted from the value of 2 in m1, and select the key '11' from m2.
    Then, it continues up to key '4' in m1.
    Could anyone help me to solve this?
    1. Did you mean
    "Out of these selected figure (11=>9 16; 12=>3  12) if the value (9, 16) are fully matched, that key '11' is selected."
    2. When you say fully matched or partially matched, do you mean just in key 2 of m1?
    3. What happens if there is no match?
    4. What does it mean to say that a key from m2 is "selected"? What happens to keys that are or are not selected?
    5. If the result of this exercise is a change in the three maps, you should at least tell us what that change is. If the result is some other data structure, then tell us what it is.
    David Wilkinson | Visual C++ MVP

  • How to get the last revision quote to SSRS report

    HI,
    My report current result like this
    Qoute ID
    Revision
    Q1
    1
    Q1
    2
    Q1
    3
    Q2
    1
    Q3
    1
    I would like to filter if the quote ID is same , only get the last revision quote into report
    Qoute ID
    Revision
    Q1
    3
    Q2
    1
    Q3
    1
    How can i compare the Quote ID and Revision in fetchxml or dataset filter ?
    Thank You

    <fetch distinct='false' mapping='logical' aggregate='true'> 
        <entity name='Quote'> 
           <attribute name='revisionnumber' alias='estimatedvalue_max' aggregate='max' /> 
           <attribute name='quotenumber' alias='quoteid' groupby='true' /> 
        </entity> 
    </fetch>"
    Regards, Saad

  • How to integrate SSRS Reports with Sharepoint

    Hi Friends,
    I just wanted to know the steps to integrate our SSRS Reports with Sharepoint.
    What are the prerequisite for integration of ssrs 2008 reports with sharepoint.
    Thanks in Advance...
    Regards,
    LuckyAbdul

    see
    http://technet.microsoft.com/en-us/library/bb326356(v=sql.105).aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How can I use the same parameter to use elsewhere by Manage Variables ?

    Hello,
    I have a little problem that I need to know. I want to use the same parameter to use elsewhere.
    Example,
    I have a parameter on page 1 and I wish to use this parameter in the other page by Manage Variables.
    How can I do this ?
    Thank you.

    ..just open ManageVariables (right click on the a page and select Manage Variables)...
    then you select the parameter on the page where you want to insert your previous value (your variable)...use the dropdown list to select the variable that contains your value...and it should work
    /m

  • How do I use the UHRY_ACTIVE_ROWS parameter?

    We want to create a button to display the rows as a hierarchy (as available in query properties). To do this I realise I need to use the UHRY_ACTIVE_ROWS parameter in the template properties so to change the properties dynamically (as we require this functionality in a button) we started with the javascript command
    newurl = "&CMD=LDOC&TEMPLATE_ID=YTEST_TEMPLATE&UHRY_ACTIVE_ROWS=X";
    SAPBWOpenURL(SAP_BW_URL_Get()+newurl);
    This successfully sets the flag in the query properties but as we have mandatory variables the variable screen is shown which we don't want to see as the users have already entered the variables previously.
    Is it possible therefore to
    1) Avoid the Variables screen showing as they are already populated?
    or
    2) Set UHRY_ACTIVE_ROWS in another method?

    Hi Neal,
    Not sure if this would help..
    You can try using an additional parameter in your URL
    VARIABLE_SCREEN=%20 or VARIABLE_SCREEN=' '
    This should supress the Variable screen.
    Cheers,
    Praveen.

  • How to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part

    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

  • Two commands in the report using the same parameter - fail under Java

    I have a report that contains 2 SQL commands.
    Both of these commands use one parameter X of type Number in their 'WHERE' clause.
    When i'm viewing the report in CR 2008, i'm asked for a value of this parameter and all data is filled in the report - OK
    The problem occurs when the same report is printed through Crystal Java Runtime:
    Report is printed without data! - it's empty.
    What we noticed in the debug information thrown by the Crystal libraries is that parameter value is set only in one of these commands:
    Original statement 1:
    select a.something
    from ANM_T a
    where a.anmid = {?PARAMETER01Id}
    Original statement 2:
    SELECT * from ANM_T a
    WHERE  a.anmid={?PARAMETER01Id}
    OUTCOME of Statement 1:
    select a.something
    from ANM_T a
    where a.anmid = 0
    OUTCOME of Statement 2:
    SELECT * from ANM_T a
    WHERE  a.anmid=9825
    In above example we may see that crystal set the value only in the second statement - first one got 0 - i suspect its some default value.
    Parameter in the Java code is set in the right way. In case of using only one statement it works. If we use two separate parameters (whose values are equal ) it also works.
    // we have also the loop over the parameters
    ParameterFieldController paramFieldController =
                    report.getDataDefController().getParameterFieldController();
    paramFieldController.setCurrentValue( "", paramName, paramValue );
    What is strange for me is that Crystal Reports enables to use the same parameter in two commands but if you edit one of them you may change the type of this parameter for a command ( for example from Number to String) but the parameter type in the second command remains unchanged ( it's strange because in my opinion it is the same parameter). In the Field Explorer under the Parameter Fields i still see one parameter of type used in the second command.

    Hello all,
    We have prepared some sample code to illustrate the issue.
    We have modified the sample application (Link: [http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/c07fec3e-3e11-2c10-1991-8c0fb0b82b75]) to that it also changes the parameter value. Parameter is used in two commands saved in report.
    The code changing the parameters value looks like this:
    private static void changeParameters(ReportClientDocument reportClientDoc) throws ReportSDKException {
              DataDefController dataDefController = reportClientDoc.getDataDefController();
            Fields fields = dataDefController.getDataDefinition().getParameterFields();
            for( int i = 0; i < fields.size(); i++ ){
                Field field = (Field)fields.getField( i );
                if( field.getKind() == FieldKind.parameterField ){
                            setParameter( ((ParameterField)field).getName(), "9825" , reportClientDoc);          
    private static void setParameter( String paramName, String paramValue, ReportClientDocument document ) throws ReportSDKException {
         ParameterFieldController paramFieldController =
                    document.getDataDefController().getParameterFieldController();
         paramFieldController.setCurrentValue( "", paramName, paramValue );
    We have tried the following codes to change the connection info used in commands:
    Attempt 1
              Tables tables = databaseController.getDatabase().getTables();
              //Set the datasource for all main report tables.
              for (int i = 0; i < tables.size(); i++) {
                   ITable table = tables.getTable(i);
                   //Keep existing name and alias.
                   table.setName(table.getName());
                   table.setAlias(table.getAlias());
                   //Change connection information properties.
                   IConnectionInfo connectionInfo = table.getConnectionInfo();
                   //Set new table connection property attributes.
                   connectionInfo.setAttributes(propertyBag);
                   //Set database username and password.
                   //NOTE: Even if these the username and password properties don't change when switching databases, the
                   //database password is *not* saved in the report and must be set at runtime if the database is secured. 
                   connectionInfo.setUserName(DBUSERNAME);
                   connectionInfo.setPassword(DBPASSWORD);
                   connectionInfo.setKind(ConnectionInfoKind.SQL);
                   table.setConnectionInfo(connectionInfo);
                   //Update old table in the report with the new table.
                   databaseController.setTableLocation(table, tables.getTable(i));
                   //databaseController.setTableLocation(tables.getTable(i), table);
    Attempt 2
             newConnectionInfo.setAttributes(propertyBag);
             connectionInfo.setUserName(DBUSERNAME);
             connectionInfo.setPassword(DBPASSWORD);
             //preserve subreport links
             SubreportController src = doc.getSubreportController();
             Map<String, SubreportLinks> linkMapper = new HashMap<String,SubreportLinks>();
             for(String subreportName : src.getSubreportNames()){
                 linkMapper.put(subreportName,
                     (SubreportLinks) src.getSubreportLinks(subreportName).clone(true));
             //If this connection needed parameters, we would use this field. 
             Fields<IParameterField> pFields = doc.getDataDefController().getDataDefinition().getParameterFields();
             replaceConnectionInfos(doc.getDatabaseController(), newConnectionInfo, pFields);
             IStrings strs = src.getSubreportNames();
             Iterator<String> it = strs.iterator();
             while (it.hasNext()) {
               String name = it.next();
               ISubreportClientDocument subreport = src.getSubreport(name);
               pFields = subreport.getDataDefController().getDataDefinition().getParameterFields();
               replaceConnectionInfos(subreport.getDatabaseController(), newConnectionInfo, pFields);
             //reconnect subreport links since when using replaceConnection links are erased
             for(String subreportName : src.getSubreportNames())
               src.setSubreportLinks(subreportName, linkMapper.get(subreportName));
    private static void replaceConnectionInfos(DatabaseController aDc, IConnectionInfo aNewConnInfo, Fields<IParameterField> aParameterField) throws ReportSDKException {
             ConnectionInfos cis = aDc.getConnectionInfos(null);
             for (IConnectionInfo oldConnInfo : cis)
               aDc.replaceConnection(oldConnInfo, aNewConnInfo, aParameterField, DBOptions._useDefault
                   + DBOptions._doNotVerifyDB);
    In both cases, the observed problem occurred. In one query the parameter was set properly, while on the other it was set to 0 (or empty string in case of string parameters). What is more, no data appeared on the print.
    Do you happen to know the reason of this issue?How can we fix the problem?
    Best regards
    Mateusz Błaż

  • How to use the same services-config for the local and remote servers.

    My flex project works fine using the below but when I upload my flash file to the server I doesn't work, all the relative paths and files are the same execpt the remote one is a linux server.
    <?xml version="1.0" encoding="UTF-8"?>
    <services-config>
        <services>
            <service id="amfphp-flashremoting-service"
                class="flex.messaging.services.RemotingService"
                messageTypes="flex.messaging.messages.RemotingMessage">
                <destination id="amfphp">
                    <channels>
                        <channel ref="my-amfphp"/>
                    </channels>
                    <properties>
                        <source>*</source>
                    </properties>
                </destination>
            </service>
        </services>
        <channels>
        <channel-definition id="my-amfphp" class="mx.messaging.channels.AMFChannel">
            <endpoint uri="http://localhost/domainn.org/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/>
        </channel-definition>
        </channels>
    </services-config>
    I think the problem  is the line
            <endpoint uri="http://localhost/domainn.org/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/>
    but I'm not sure how to use the same services-config for the local and remote servers.

    paul.williams wrote:
    You are confusing "served from a web-server" with "compiled on a web-server". Served from a web-server means you are downloading a file from the web-server, it does not necessarily mean that the files has been generated / compiled on the server.
    The server.name and server.port tokens are replaced at runtime (ie. on the client when the swf has been downloaded and is running) not compile time (ie. while mxmlc / ant / wet-tier compiler is running). You do not need to compile on the server to take advantage of this.
    Hi Paul,
    In Flex, there is feature that lets developer to put all service-config.xml file configuration information into swf file. with
    -services=path/to/services-config.xml
    IF
    services-config.xml
    have tokens in it and user have not specified additional
    -context-root
    and this swf file is not served from web-app-server (like tomcat for example) than it will not work,
    Flash player have no possible way to replace token values of service-config.xml file durring runtime if that service-config.xml file have been baked into swf file during compilation,
    for example during development you can launch your swf file from your browser with file// protocol and still be able to access blazeDS services if
    -services=path/to/services-config.xml
    have been specified durring compilation.
    I dont know any better way to exmplain this, but in summary there is two places that you can tell swf  about service confogiration,
    1) pass -services=path/to/services-config.xml  parameter to compiler this way you tell swf file up front about all that good stuff,
    or 2) you put that file on the webserver( in this case, yes you should have replacement tokens in that file) and they will be repaced at runtime .

Maybe you are looking for

  • Quiz Buttons Not Differentiating

    I had a file with perfectly useful quiz buttons that said and did everything they were supposed to. I made a change and regenerated a flash to upload and now all the quiz buttons have turned into transparent text buttons. No matter what I try to do i

  • Tax codes are missing

    Hi Guys, When I using f-37 to create a downpayment request, there are a lot of tax codes which can be selected. But then when posting a customer invoice using fb70, there are only two tax codes can be selected. And the tax code which has been selecte

  • Why arch use a so old iproute2 version??

    I was looking at some qos script to increase downloads performances when i have a lot of uploads and i've found a few useful things but the most of them don't work with the old tc included in iproute2 2.4.7 that's the one we have on archlinux... So i

  • Query Level formatting

    Hi All, We have a below requirement where we need to find the solution at Query Designer level. A       A1       10          A2        20          A3        30 B      B1       10         B2       50         B3       20 Now we need the output in the f

  • Did I get the right stuff?

    I need to upgrade the HD in my white macbook early 2008. I went to crucial and ran their compatibility tool and what I purchased was a western digital 500GB SATA 5400 8MB. It was also recomended that I get an enclosure and I bought one from amazon it