Passing  Parameters for url in portlet

I want to pass parameters through the url to a portlet.
As I can make that?
There is some example.
I am working with the portal 9i release 2 and jpdk november 2002 v2

hi Frank,
Thanks for the response. We followed your suggestion and managed to capture URL parameters in afterPhase(LifeCycle.PREPARE_MODEL) and save parameters to ViewScope.
Then in beforePhase(LifeCycle.PREPARE_RENDER), we retrieve parameters back and invoke FndUIController.openMainTask method to launch the correponding taskflow but nothing happens.
public static void openTaskflowOnNewTab(String taskflowId) {
try {
FacesContext fc = FacesContext.getCurrentInstance();
ELContext elc = fc.getELContext();
ExpressionFactory ef = fc.getApplication().getExpressionFactory();
ValueExpression valExp = ef.createValueExpression(elc,"#{bindings.openMainTask}",Object.class);
JUCtrlActionBinding methodBinding = (JUCtrlActionBinding)valExp.getValue(elc);
Map params = methodBinding.getParamsMap();
params.put("label", "Some Title");
params.put("taskFlowId", taskflowId);
params.put("reuseInstance", true);
methodBinding.invoke();
} catch (Exception e) {
e.printStackTrace();
To prove that this method works, we create a UI button on the page (which binds this method in PageDef.xml), and associate this method to onclick event. At runtime after page is opened, clicking on the button does launch the taskflow on new tab successfully.
Do you happen to know what I do wrong in the beforePhase() method?
Thanks
-Phi

Similar Messages

  • Is it possible to pass parameters to custom search portlet?

    Hello!
    I use custom search to display automatically results.
    But I need to dynamically add some conditions or change sort order based on user selection in another portlet.
    So, is it possible to pass parameters to custom search portlet?
    Boris
    P.S. I am use Portal 9.0.4

    Hello!
    Ok, I find how to hack it and find out parameters (p_mainsearch, p_order_by_attribute...), but is there any documentation or notes about it?
    And is it possible to change order by list & add there my attributes?
    Kind regards,
    Boris

  • Passing parameters from URL to multiple iViews on a page.

    Hi Everyone,
    Could you please point me to a guide or howto, which explains on passing parameters from URL to multiple iViews on a page. I already know how to pass parameters from URL to a single iView (wiki).
    Thanks!
    Indy

    Hi Indy,
    Currently, passing parameters to the page which contains VC iViews is not supported, only directly in the iView's URL.
    Regards,
    Natty

  • Problems with passing parameters for WEB template in URL in NW2004s

    Servus,
    We have NW2004s, BI 7.0, SP9
    does anybody know where do I make a mistake? There are 9 variables which the user has to fill out.
    Passing the parameters in URL string for a web template like: http://server:50100/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=TEMPLATENAME&var_name_1=ZvarX&var_value_ext_1=2000 ....
    but this doesn't function, I get only the first variable screen and not what's set in my URL.
    Is it a bug? Any suggestions?
    Thank you very much
    Standa

    I solved it.
    Solution:
    URL Link "http://......./TEMPLATE=nameofthepage&TEMPLATE=nameofthepage
    &VARIABLE_VARIANT=nameofthevariant"

  • Passing parameters for a query throught XML and capturing response in the same

    Hi All,
    I have defined a RequestParameters object and i am passing paramerts for a query through XML and trying to capture the result in the same and send back to the source. In this case i am send XML from excel.
    Below is my XML format.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <Insert xmlns="http://tempuri.org/">
    <dataContractValue>
    <dsRequest>
    <dsRequest>
    <SOURCE></SOURCE>
    <ACTION>Insert</ACTION>
    <RequestParams>
    <RequestParams>
    <ACC_NO>52451</ACC_NO>
    <EMP_CITY>HYD</EMP_CITY>
    <EMP_NAME>RAKESH</EMP_NAME>
    <EMP_CONTACT>99664</EMP_CONTACT>
    <EMP_JOM>NOV</EMP_JOM>
    <EMP_SALARY>12345</EMP_SALARY>
    </RequestParams>
    <RequestParams>
    <ACC_NO>52452</ACC_NO>
    <EMP_CITY>HYD</EMP_CITY>
    <EMP_NAME>RAKESH</EMP_NAME>
    <EMP_CONTACT>99664</EMP_CONTACT>
    <EMP_JOM>NOV</EMP_JOM>
    <EMP_SALARY>12345</EMP_SALARY>
    </RequestParams>
    </RequestParams>
    </dsRequest>
    <dsRequest>
    <SOURCE></SOURCE>
    <ACTION>Update</ACTION>
    <RequestParams>
    <RequestParams>
    <ACC_NO>52449</ACC_NO>
    <EMP_CITY>HYD1</EMP_CITY>
    <EMP_NAME>RAKESH1</EMP_NAME>
    <EMP_SALARY>1345</EMP_SALARY>
    </RequestParams>
    <RequestParams>
    <ACC_NO>52450</ACC_NO>
    <EMP_CITY>HYDer</EMP_CITY>
    <EMP_NAME>RAKEH</EMP_NAME>
    <EMP_SALARY>1235</EMP_SALARY>
    </RequestParams>
    </RequestParams>
    </dsRequest>
    </dsRequest>
    </dataContractValue>
    </Insert>
    </s:Body>
    </s:Envelope>
     Where i have a List of dsRequest and RequestParams, where i can send any number of requests for Insert,Update. I have two a XML element defined in RequestParams "RowsEffected","error" where the result will be caputred and is updated
    to the response XML.
    I have 6 defined in RequestParams
    EMP_SALARY(int),ACC_NO(int),EMP_CITY(string),EMP_NAME(string),EMP_CONTACT(string),EMP_JOM(string)
    My Question is:
    When i am trying to build response XML with the following code, the parameters which are not given in the Request XML are also appearing in the Response.
                    ResponseParams.Add(
    newdsResponse()
                        ACTION = OriginalParams[a].ACTION,
                        SOURCE = OriginalParams[a].SOURCE,
                        Manager = OriginalParams[a].Manager,
                        RequestParams = OriginalParams[a].RequestParams
    Where the OriginalParams is dsRequest
    Ex: In my update query i will only send three parameters, but in my response building with ablove code, i am getting all the variables defined as INT in the RequestParameters.
    Is there any way i can avoid this and build response with only the parameters given in the Request ??
    Appreciate ur help..Thanks
    Cronsey.

    Hi Kristin,
    My project is, User will be giving the parameters in the excel, and using VBA, the values are captured and an XML is created in the above mentioned format and is send to web service for the Insert/Update.
    I created a webservice which reads the values from <datacontract> and it consist of list of <dsRequests> where any number of Insert/Upate commands can be executed, with in which it contains a list of <RequestParams> for multiple insertion/Updation.
    //function call
    OriginalParams = generator.Function(query, OriginalParams);
    where OriginalParams is List<dsRequest>
    //inside function
    command.Parameters.Add()// parameters adding
    int
    val = command.ExecuteNonQuery();
    after the execution,an XML element is added for the response part.and it is looped for all the RequestParams.
    OriginalParams[i].Result.Add(
    newResult()
    { ERROR = "No Error",
    ROWS_EFFECTEFD = 1 });
    //once all the execution is done the response building part
    for(inta
    = 0; a < OriginalParams.Count; a++)
                    ResponseParams.Add(
    newdsResponse()
                      Result = OriginalParams[a].Result
    QUEST: When i am trying to build response XML with the following code, the parameters which are not given in the Request XML are also appearing in the Response.
    Ex: In my update query i will only send three parameters, but in my response building with ablove code, i am getting all the variables defined as INT in the RequestParameters.
    Is there any way i can avoid this and build response with only the parameters given in the Request ??
    Appreciate ur help..Thanks
    Cronsey.

  • Passing parameters in URL?

    I'd like to be able to build JSP pages that link to each other with parameters passed in the URL. Is there a way to do this? It seems not, but I'd like to know.
    Thanks,
    Matt

    http://download-uk.oracle.com/docs/cd/B10464_05/portal.904/b13922/pdg_java.htm#CBBGHHDC

  • Transactional Iview passing parameters for search help window

    Hi Experts,
    I have to create a transaction ivew through which i need to pass parameters to search help window (having two entries ). In has to select the particular entry and then go to next step.
    Can somebody give me guide me how to do it as i couldn't fine correct answer in the existing forum answers.
    Regards,
    Suresh

    Hi Suresh,
    Have you read the [documentation|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/88/266a3e54a2e946e10000000a114084/frameset.htm]?
    >ApplicationParameter
    >
    >You can enter parameter values for certain screen fields for displaying a SAP transaction here.
    >This field is optional.
    >
    >The parameter values are specified with the following syntax:
    >
    ><Screen_field1>=<Parameter1>
    >&<Screen_field2>=<Parameter2>
    >&<...>=<...>,...
    >
    >Process First Screen
    >
    >The possible values are trueand false. By default this field is defined as false. It is a required field.
    >
    >If the value is set to true, this corresponds to the input key function in the transaction. It takes effect if there are no required >fields in the transaction or if all the required values are maintained in the ApplicationParameter property.
    Regards,
    Pierre

  • Is it possible to pass parameters for the action in the confirmation dialog

    I tried it but a null pointer exception is occuring. Is it possible to pass parameters ,if s give the solution....
    Thanks and regards.
    Karthik.

    Hi Karthi,
    Directly it is not possible. You can achieve it by this way.
    1>     Create 2 Event Handlers  say “OK” and “OKTest”.
    public void OK(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin OK(ServerEvent)
        String param = "abc";
        wdThis.OKTest(wdEvent,param);
        //@@end
    public void OKTest(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String paramtest )
        //@@begin OKTest(ServerEvent)
         wdComponentAPI.getMessageManager().reportSuccess("Param : "+paramtest);
        //@@end
    2>     Code for popup.
                    String dialog = "No of Rows : ";
                    IWDConfirmationDialog confDialog = wdComponentAPI.getWindowManager().createConfirmationWindow(dialog,wdThis.wdGetAPI().getViewInfo().getViewController().findInEventHandlers("OK"),"OK");
                    confDialog.setTitle("Test Window");
                    confDialog.show();
    /thread/66776 [original link is broken]
    Regards,
    Mithu

  • Problem while passing parameters for dashboard prompts in URL

    Hi,
    We have created a dashboard on OBI which has some dashboard prompts. We have a requirement that we shall open the dashboard from an external application. We are doing this by invoking an URL. We want the dashboard to turn with prompts already being applied.
    I was trying to open the dashboard with the following URL
    http://<servername:port>/analytics/saw.dll?Go&PortalPath=/shared/Procurement%20and%20Spend/_portal/Supplier%20Performance&Page=Overview
    But when I use the above Go URL the dashboard is not coming up. It shows the following error
         No Columns
         The request cannot be performed because it contains no columns.
    When I use the following URL(which has the keyword 'Dashboard' not 'Go') the Dashboard is coming up fine
    http://<servername:port>/analytics/saw.dll?Dashboard&PortalPath=/shared/Procurement%20and%20Spend/_portal/Supplier%20Performance&Page=Overview
    There are dashboard prompt defined in dashboard. When I try to send the filter value via URL(given below) it is not working. I just see the Dashboard coming up.
    http://<servername:port>/analytics/saw.dll?Dashboard&NQUser=Administrator&NQPassword=SADMIN&PortalPath=/shared/Procurement%20and%20Spend/_portal/Supplier%20Performance&Page=Overview&P0=1&P1=eq&P2=Supplier."Supplier%20Name"&P3=1+AccessMicron
    when we use the keyword Dashboard in the URL , can we pass the parameter for the dashboard proimpt ..? If we can do that .. how to do that ..? Is it the same manner that we do for Go URL. ..?
    Please let me know if you need any more information on this.
    Thanks in advance for your time,
    Raj Kumar
    Edited by: Raja Kumar on Jan 22, 2010 3:29 AM

    Hi Raj,
    Raghu is correct, you need the Action=Navigate to make prompts work, otherwise you get move to the target dashboard without prompts.
    I think you figured it out your self, but the ?Go is for Answer Requests and ?Dashboard is for navigating to dashboards.
    I would also recommend using col1="COLUMN_NAME" and val1=value syntax instead of the P0,P1, etc, etc. It's a little easier to read and implement.
    Try this:
    http://<servername:port>/analytics/saw.dll?Dashboard&Action=Navigate&NQUser=Administrator&NQPassword=SADMIN&PortalPath=/shared/Procurement%20and%20Spend/_portal/Supplier%20Performance&Page=Overview&col1=%22Supplier%22.%22Supplier%20Name%22&val1=1+AccessMicron
    Good luck!
    Best regards,
    -Joe

  • How to pass parameters for second screen to SAP webgui URL

    Hi
    I want to call SAP webgui from an application and want to pass some data which need to be prefilled in the screen.
    Have gone through many threads
    /people/durairaj.athavanraja/blog/2004/09/23/pass-parameter-to-its-url-upadated-21st-june-2008
    https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action&pageid=22375
    webbgui  - calling a transaction and specify variant or parameter in url
    Things work fine if I pass values to fields which are on first screen, but I am unable to pass data to fields on next screens.
    Taking an example :
    tCode for vendor creation is XK01 and it has many screens, now when I call url
    http://HOST_NAME:8000/sap/bc/gui/sap/its/webgui/!?sap-client=CLIENT_ID&sap-user=SAP_USER&sap-password=SAP_PASSWORD&language=EN&~transaction=*XK01 RF02K-LIFNR=Ven1001;
    I am able to view Ven1001 in vendor code in first screen
    But when I call
    http://phxng4709:8000/sap/bc/gui/sap/its/webgui/!?sap-client=100&sap-user=testuser1&sap-password=SAP12345&language=EN&~transaction=*XK01 RF02K-LIFNR=Ven1111;RF02K-BUKRS=COCO;RF02K-EKORG=NG01;RF02K-KTOKK=0001;ADDR1_DATA-NAME1=VEN_NAME
    All the fields on first screen get populated but I don't get VEN_NAME in Name1 field on GUI
    Tried this
    http://phxng4709:8000/sap/bc/gui/sap/its/webgui/!?sap-client=100&sap-user=testuser1&sap-password=SAP12345&language=EN&~transaction=*XK01 RF02K-LIFNR=Ven1111;RF02K-BUKRS=COCO;RF02K-EKORG=NG01;RF02K-KTOKK=0001;Ok_Code=ENTR;ADDR1_DATA-NAME1=VEN_NAME
    as well, but no success
    Can anybody help. Thanks in advance
    Ruhi

    you can only pass values to first screen fields

  • How to pass parameters for second screen to SAP webgui URL (ITS)

    Hi
    I want to call SAP webgui from an application and want to pass some data which need to be prefilled in the screen.
    Have gone through many threads
    /people/durairaj.athavanraja/blog/2004/09/23/pass-parameter-to-its-url-upadated-21st-june-2008
    https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action&pageid=22375
    webbgui  - calling a transaction and specify variant or parameter in url
    Things work fine if I pass values to fields which are on first screen, but I am unable to pass data to fields on next screens.
    Taking an example :
    tCode for vendor creation is XK01 and it has many screens, now when I call url
    http://HOST_NAME:8000/sap/bc/gui/sap/its/webgui/!?sap-client=CLIENT_ID&sap-user=SAP_USER&sap-password=SAP_PASSWORD&language=EN&~transaction=*XK01 RF02K-LIFNR=Ven1001;
    I am able to view Ven1001 in vendor code in first screen
    But when I call
    http://phxng4709:8000/sap/bc/gui/sap/its/webgui/!?sap-client=100&sap-user=testuser1&sap-password=SAP12345&language=EN&~transaction=*XK01 RF02K-LIFNR=Ven1111;RF02K-BUKRS=COCO;RF02K-EKORG=NG01;RF02K-KTOKK=0001;ADDR1_DATA-NAME1=VEN_NAME
    All the fields on first screen get populated but I don't get VEN_NAME in Name1 field on GUI
    Tried this
    http://phxng4709:8000/sap/bc/gui/sap/its/webgui/!?sap-client=100&sap-user=testuser1&sap-password=SAP12345&language=EN&~transaction=*XK01 RF02K-LIFNR=Ven1111;RF02K-BUKRS=COCO;RF02K-EKORG=NG01;RF02K-KTOKK=0001;Ok_Code=ENTR;ADDR1_DATA-NAME1=VEN_NAME
    as well, but no success
    Can anybody help. Thanks in advance
    Ruhi

    you can only pass values to first screen fields

  • How to pass parameters in url templates

    hi all,
    i've created an iview which calls yahoomail url,i need to pass user-id and password through parameters, such that i can personalize my id and password using personalize option to see my yahoo mail box in the iview.so, plzz give me a solution for the above problem,

    Hi Gnanadeva
    It is more simpler to use the App integrator to integrate web applications into the Portal than create a URL iView and the pass the parameter. Because in case of a URL iView you will need to define an HTTP System to Pass your parameters but then it doesnt seem to work even if the URL paarmeters are specified.
    You will find the .PAR file that can be used as thesystem template as well as the document for using the App Integrator from the link provided by Praveen.
    Download the File and import the .PAR file into your portal (go to System Administration -> Support -> Portal Runtime -> Administration Console -> Archive Uploader and upload the .PAR file). Create a system based on this template as mentioned in the Document and create the iView based on this System.
    Hope that helps
    Best Regards
    Priya

  • Passing parameters through URL in ADF Application with UIShell

    Hi,
    JDeveloper Studio Edition Version 11.1.1.6.0
    The UI in our application is developed with UIShell pageTemplate.
    We have a Home page created with PageTemplace "UIShell.jspx" and this page is placed as a view in adfc-config.xml (the Unbounded Task Flow).
    The other pages for our application are created using Page Fragments and these pages are called from Home_taskmenu.xml through Bounded task flows.
    With this setting, the URL(after SignIn) will look like,
    http://localhost:7101/OperationalPlanning/faces/Home?_afrWindowMode=0&_adf.no-new-window-redirect=true&_afrLoop=6811862222491857&_adf.ctrl-state=29wus7giw_19
    We have a requirement to build the URL which should open a Page Fragment directly after Signing In to the application. And we have a id to be passed as a parameter, so it should open the page fragment with the details based on the id value that we pass.
    The parameters are already registered in the Bounded Task Flow(which has the page fragment) and I could open in the "localArea" using a link in the Home Page.
    Now, I want to directly launch the Bounded task flow by passing a parameter, so that it opens the Page Fragment as a tab once we signIn.
    Let me know if there is any solution for this requirement.
    If there is any document to follow for this kind of requirement in an application which is created using the UIShell, please let me know.
    Thanks,
    Tamil

    hi Frank,
    Thanks for the response. We followed your suggestion and managed to capture URL parameters in afterPhase(LifeCycle.PREPARE_MODEL) and save parameters to ViewScope.
    Then in beforePhase(LifeCycle.PREPARE_RENDER), we retrieve parameters back and invoke FndUIController.openMainTask method to launch the correponding taskflow but nothing happens.
    public static void openTaskflowOnNewTab(String taskflowId) {
    try {
    FacesContext fc = FacesContext.getCurrentInstance();
    ELContext elc = fc.getELContext();
    ExpressionFactory ef = fc.getApplication().getExpressionFactory();
    ValueExpression valExp = ef.createValueExpression(elc,"#{bindings.openMainTask}",Object.class);
    JUCtrlActionBinding methodBinding = (JUCtrlActionBinding)valExp.getValue(elc);
    Map params = methodBinding.getParamsMap();
    params.put("label", "Some Title");
    params.put("taskFlowId", taskflowId);
    params.put("reuseInstance", true);
    methodBinding.invoke();
    } catch (Exception e) {
    e.printStackTrace();
    To prove that this method works, we create a UI button on the page (which binds this method in PageDef.xml), and associate this method to onclick event. At runtime after page is opened, clicking on the button does launch the taskflow on new tab successfully.
    Do you happen to know what I do wrong in the beforePhase() method?
    Thanks
    -Phi

  • Open a particular Order in Web UI by passing parameters to URL

    Hi Friends,
    Previously we worked in CRM 5.0, where in the PCUI application, we passed the extra parameters to the URL as CRM_OBJECT_ID = GUID to open a particular order.
    For Example:
    https://dev1crm.ra.rockwell.com:18020/sap(bD1lbiZjPTIwMCZkPW1pbg==)/bc/bsp/sap/crm_bsp_frame/entrypoint.do?appl=ZCRMD_BUS2000115_V1&blview=ZAK_165&analyze=X&crm_object_id=47A28A2DB2A635C3E100000082974C14.
    Now we have upgraded the system and working on CRM 7.0. How to implement the same functionality in Web UI?
    In Web UI, we tried with changing some parameters of the url but it didnt help. To display the Business directly, we
    changed the url as
    https://dev1crm.ra.rockwell.com:18020/sap(bD1lbiZjPTIwMCZkPW1pbg==)/crm_logon/default.htm?saprole=ZM2Q_MKT
    and it works fine. It properly opens the role ZM2Q_MKT without showing me the initial screen.
    So, my question is how to open a particular Order directly on the Web UI screen by passing the parameters to the URL.
    Regards,
    Raju

    Hi.
    The link in your case should be for quotation...
    https://dev1crm.ra.rockwell.com:18020/sap(bD1lbiZjPTIwMCZkPW1pbg==)/crm_logon/default.htm?crm-object-type=BT115QH_SLSQ&sap-system-login-basic_auth=X&sap-syscmdcrm-object-value=47A28A2DB2A635C3E100000082974C14
    And for order....
    https://dev1crm.ra.rockwell.com:18020/sap(bD1lbiZjPTIwMCZkPW1pbg==)/crm_logon/default.htm?crm-object-type=BT115H_SLSO&sap-system-login-basic_auth=X&sap-syscmdcrm-object-value=47A28A2DB2A635C3E100000082974C14
    Regards.

  • Passing Parameters in URL problem

    I have a page where I do some processing. I have created a branch on that page back to the main report page for the app. I have the following on the "Edit Branch" page:
    Point
    Branch Point: On Submit: After Processing...
    Sequence: 10
    Action
    Target type: Page in this Application
    Page: 1
    Request:
    Clear Cache:
    Set these items:P1_SELECT_TERM,P1_SELECT_POT
    With these values:&P7_TERM.,&P7_PART_OF_TERM.
    Condition Type
    Always
    I know that the correct values are in P7_TERM and P7_PART_OF_TERM.
    The values for the parameters are not being passed.This is the url that is generated:
    /f?p=140:1:8630493751232939289::NO::P1_SELECT_TERM,P1_SELECT_POT:%2C
    If I type the URL including the correct values for the parmeters the app functions correctly
    f?p=153:1:3185922380674823349::NO::P1_SELECT_TERM,P1_SELECT_POT:200701%2CF
    Any thoughts appreciated!
    Marie

    Marie,
    You may find this example usefull:
    http://htmldb.oracle.com/pls/otn/f?p=31517:48
    It also point to other threads where this kind of question has been answered.
    Denes Kubicek

Maybe you are looking for

  • How to Make Itunes Recognize Foreign Characters in file names?

    How to Make Itunes Recognize Foreign Characters in file names? Any Body, please DELL Windows XP Pro

  • Need help - college student email receives won't go out via GMAIL / SMTP

    hello, my kid is just starting college and she called and said her email from bellsouth and the university (Via Gmail) is coming in, but when she sends it won't go out. says couldn't send on selected server, try another? She is connected to the web a

  • Removing excess spacing

    I work for my school newspaper as the Online Editor. The editors use InDesign to layout their articles and when they adjust the type to make the text fit into the columns appropriately, they simply hit the space bar multiple times (it's either that o

  • Where is my song? It says I bought it but I can't see it

    I bought a song (Airplanes by B.o.b feat. Hayley Williams), and it wasn't in my purchases list so I thought I'd go buy it again, But when I click the buy button it says I already have that song and I still can't see it. the money was taken from my ac

  • How to setup  10.3 and cloud?

    I installed new iTunes on my Mac. Also I synced my iPad and iPhone 4 but I'm not seeing an option to download music from cloud?