Multiple Source parameter in QueryString

Hi Experts,
I am having a Page with a Default list view of a custom list. With jquery i relink the click on the edit-button to a custom Edit-Form and i add the Source to the QueryString, like so:
var myList = $('a[href*="84858E12"]');
if(myList)
myList.each(function ()
var att = $(this).attr('onclick');
if(att)
if(att.match(/ID=([0-9]*)/))
var id = $(this).attr('onclick').match(/ID=([0-9]*)/)[1];
var bo = $(this).closest('td').next('td').next('td').find('a').text();
$(this).removeAttr('onclick');
$(this).attr('href', '/Lists/myList/Edit.aspx?ID=' + id + "&BO=" + bo + "&InitialTabID=Ribbon.Read");
$(this).attr('onclick', 'GoToLink(this);return false;');
So my starting page was http://xxx.com/Seiten/acm.aspx
Then when i click to edit my custom Form comes up and URL is:
http://xxx.com/Lists/myList/Edit.aspx?ID=80&BO=LE/2014/2000080&InitialTabID=Ribbon.Read&Source=http%3A%2F%2Fxxxt%2Ecom%2FSeiten%2Facm%2Easpx
This custom Edit-Form has a list view Webpart on the bottom to show related data from another list. Also here i relinked the edit button to a custom edit form of that list, like so:
var hu = window.location.href;
var gy = hu.split("&");
var source =gy[0]; var orgurl = hu;
var com = $("a[href*='ListId=%7B636BE5B5%2D8BD7%2D4CC0%2D9856%2DAF1A0F272C97%7D']");
if(com)
com.each(function ()
$(this).removeAttr("onclick");
$(this).click(function(e)
e.preventDefault();
var currentid = $(this).attr('href').match(/ID=([0-9]*)/)[1];
var encbo = getBO();
$s = "/Lists/many/Edit.aspx?ID=" + currentid + "&BO=" + encbo + "&InitialTabID=Ribbon.Read" + "&Source=" + source + "%26BO=" + encbo + "%26InitialTabID=Ribbon.Read";
location.href = $s;
So when i click i go to the related data edit form, URL is:
http://xxx.com/Lists/many/Edit.aspx?ID=94&BO=LE/2014/2000080&InitialTabID=Ribbon.Read&Source=http://xxx.com/Lists/myList/Edit.aspx?ID=80%26BO=LE/2014/2000080%26InitialTabID=Ribbon.Read
When i save or cancel i will come back where i came from (works great!) but then my origin starting URL (http://xxx.com/Seiten/acm.aspx) is not there as the Source Portion of the QueryString (And until now i didn't
set it somewhere). So when i now click cancel or save (I am in the first custom edit form) I am at the Default AllItems.aspx and not where i started from.
So i tried to add a second Source Portion to the Source, like so:
$s = "/Lists/xxx/Edit.aspx?ID=" + currentid + "&BO=" + encbo + "&InitialTabID=Ribbon.Read" + "&Source="
+ source + "%26BO=" + encbo + "%26InitialTabID=Ribbon.Read"
+ "%26Source=" + orgurl;
This will not work! -SharePoint does not parse the 2nd Source Portion and adds a comma into the QueryString.
Does anybody know how to get around this?
Thanks, Ronny

Hi Ronny,
According to your description, my understanding is that you want to pass multiple Source parameters in Query String.
Per my knowledge, the full URL should be http://xxx.com/Lists/many/Edit.aspx?ID=94&BO=LE/2014/2000080&InitialTabID=Ribbon.Read&Source=http://xxx.com/Lists/myList/Edit.aspx?ID=80%26BO=LE/2014/2000080%26InitialTabID=Ribbon.Read%26Source=http%3A%2F%2Fxxxt%2Ecom%2FSeiten%2Facm%2Easpx
based on your need.
The second ‘&Source’ should be replaced with ‘%26Source’ and then the URL can work.
Please test with the URL above in the browser directly to see if the issue still occurs.
If not, please check if there is anything incorrect in your code.
More information are provided in the link below:
http://raymondlittle.wordpress.com/2011/10/13/passing-source-querystring-value-which-contains-multiple-querystring-values-to-an-display-edit-or-new-list-item-forms/
Best regards.
Thanks
Victoria Xia
TechNet Community Support

Similar Messages

  • Best Practive - One mapping reading multiple source files

    I want to develop a solution for one single mapping reading multiple similar source files that are stored on different directories on my OWB server. I want to be able to determine on runtime of my mapping from what location to load the source file from.
    Example:
    Mapping: Load_test_data
    source file 1: c:\input\loc1\test.dat
    source file 1: c:\input\loc2\test.dat
    When I run the mapping I would like to use an input parameter specifying the location loc1 or loc2. I would also like to use this input parameter in my mapping to populate one column in my target table with the value of this input parameter. This design would make it possible to dynamically load source files from different directories and also being able to see after loading where the data came from.
    Questions:
    - Is there a way to create such a design
    - If not, what alternative would be appropriate.
    Thanks in advance for the feedback

    Thanks for the feedback. Unfortunately I do not use workflow together with my OWB.
    I now indeed specified the file name and file location in the configuration of my mapping. However I am not able to change then upon executing the mapping. Data file name and file location are empty and greyed out when I execute my mapping. It always takes the values I specified in the configuration of my mapping
    What I would like to do is specify the location upon runtime when I execute my mapping, but I don't know if this is possible. In addition I'd also want to use the data file location as an input parameter for one of the columns I populated in my target table.
    Then in the end I would be able to use one mapping and read multiple sources files from different locations and also be able to check in the end where the data was loaded from.
    Hope you can give me some more feedback on how to set this up in OWB.
    Many Thanks!
    data file name parameter to ma

  • Streams configuration multiple source-single destination

    hi all,
    can we configure streams capturing changes from multiple source databases and applying at single destination?
    to configure table level replication is it mandatory to enable suppliment logging foe enrire database?
    is it possible to configure streams without setting GLOABAL_NAMES parameter to TURE.?
    if i enable table level suppliment logging ,will my dependent objects on the table go invalid?
    there may be some silly questions,PLease answer my questions.
    regards
    Sangeeth

    >
    can we configure streams capturing changes from multiple source databases and applying at single destination?yes you can, just should care about conflict resolution when multiple source tables are replicated into the same destination table.
    to configure table level replication is it mandatory to enable suppliment logging foe enrire database?no, you can have it for specific tables, which are replicated.
    is it possible to configure streams without setting GLOABAL_NAMES parameter to TURE.?yes, you can, but it's error-prone and will be every time pointed by Oracle Support in case of any streams problems.
    if i enable table level suppliment logging ,will my dependent objects on the table go invalid?why? I didn't catch it.

  • Multiple Source directory Scenario

    I have a situation where my source files will be in several directories based on State. If I give the multiple source directories how the Sender File Adapter picks up those files?
    Does Adapter picks up 1 after the other or It picks up all files and merges and sends as one file ?
    Your input is greatly appreciated.Thanx

    Hi,
    1. Write a shell script to copy allt he file in one directory. YOu can ask business if you are getting unique fil names. If yes then all you need to put is just copy the file using shell script.
    2. Point your file adapter to this directory and pick the file as *.csv or any other pattern that is more suited to the fil names.
    3. Also you can use this functionality of file adapter so that you know all the files are picked up correctly.
    <i>Msecs to Wait Before Modification Check
    Enter the number of milliseconds that the adapter must wait before it checks whether the files have been changed.
    This parameter is not available if you have selected File Content Conversion as the Message Protocol and then made an entry under Recordsets per Message that splits an input file into several messages.</i>
    Regards
    Vijaya

  • Can we merge data from multiple sources in Hyperion Interactive Reporting ?

    Hi Experts,
    Can we merge data from multiple sources in Hyperion Interactive Reporting ?Example can we have a report based on DB2
    Oracle,
    Informix and Multidiemnsional Databases like DB2,MSOLAP,ESSBASE?
    Thanks,
    V

    Yes, Each have their own Query and have some common dimension for the Results Sections to be joined together in a final query.
    look in help for Creating Local Joins

  • Satellite L-50 can't play audio from multiple sources

    I can't play audio from multiple sources. This is very annoying when I have 2 youtube videos playing, if I start playing something on the media player, there is no sound on media player, it's the same when I have 2 media players open and 1 youtube video playing, youtube video doesn't have sound..
    I already have all the latest drivers, last DTS driver update was in 2014, sound update this year's february..
    25/02/14
    DTS Studio Sound
    DTS Inc.
    Windows 8.1 - 64 Bit
    1.01.2700
     I don't know if this makes sense, but I got newer DTS sound driver which I found, It's not my laptop model, but they all seem to be the same - v1.1.88.0 
    I uninstalled DTS software and still had the same problem, so it's not affecting sound driver in any way..
    10/02/15
    Sound Driver
    Integrated Device Technology Inc.
    Windows 8.1 - 64 Bit
    6.10.6491.0
    IDT audio driver has newer release date, but the driver version is the same as the 2013 one..
    Why are toshiba releaseing old driver as 'NEW' ?
    2nd is my speakers advanced settings, nothing changed when I disabled "Allow applications to take exclusive control of this device"
    Attachments:
    audio.png ‏6 KB
    test2.png ‏7 KB
    specs.png ‏16 KB

    Can you check the full model and part number from the laptop?
    - Peter

  • Satellite L50-A-19N can't play audio from multiple sources

    I can't play audio from multiple sources. This is very annoying when I have 2 youtube videos playing, if I start playing something on the media player, there is no sound on media player, it's the same when I have 2 media players open and 1 youtube video playing, youtube video doesn't have sound..
    It goes away when I plug out my headphones..
    I already have all the latest drivers, last DTS driver update was in 2014, sound update this year's february..
    25/02/14
    DTS Studio Sound
    DTS Inc.
    Windows 8.1 - 64 Bit
    1.01.2700
    I don't know if this makes sense, but I got newer DTS sound driver which I found, It's not my laptop model, but they all seem to be the same - v1.1.88.0
    I uninstalled DTS software and still had the same problem, so it's not affecting sound driver in any way..
    10/02/15
    Sound Driver
    Integrated Device Technology Inc.
    Windows 8.1 - 64 Bit
    6.10.6491.0
    IDT audio driver has newer release date, but the driver version is the same as the 2013 one..
    Why are toshiba releaseing old driver as 'NEW' ?
    2nd is my speakers advanced settings, nothing changed when I disabled "Allow applications to take exclusive control of this device"

    I see that the option called “give exclusive mode applications priority” has been checked.
    Usually different applications and programs can access the sound card simultaneously.
    For example: you can hear the sound in game, while you can run your own music via an external player.
    This is prevented with these options “give exclusive mode applications priority”.
    Maybe you should disable (uncheck) this option to prevent the different applications for using this exclusive mode stream.
    I did it for my DAC. I set the DAC for exclusive mode. Once my audio playback software starts to play music, no other software is able to share the DAC.
    However, I use Win 7 and Realtek sound driver… It’s another configuration.
    So it’s not known to me if your issue is related Win 8.1 system or maybe limitation of sound driver… it could be also possible that one of your sound applications don’t allow multiple sound streaming.

  • Multiple select parameter with each selected value covering multiple sub values

    Hello, everyone,
    In my SSRS report, I need to set a multiple select parameter called Group, with values: group1 group2, etc....
    When group1 is selected, it needs to apply to data of certain sub groups: sub-group1, sub-group2;
    When group2 is selected, it needs to apply to data of different sub groups: sub-group3, sub-group4 and sub-group5;
    when both group1 and group2 are selected, then, it needs to apply to data of sub-group1 to sub-group5.
    I know how to do it when only one group is selected: simply use a case statement in the query to select the right sub groups based on the group selected.
    But I don't know a good way to do it when multiple groups are selected.
    Any help, pointers are much appreciated. Thanks in advance!
    Regards

    Hi QQFA,
    If I understand correctly, there are two parameters (Group and Sub_group) in the report. When we select group1 in Group parameter, it will auto select sub-group1, sub-group2 in the Sub_group parameter; when we select group2 in Group parameter, it will auto
    select sub-group3, sub-group4 and sub_group5 in the Sub_group parameter; when we select both all, it will auto select all sub_group values. If I have misunderstood, please don't hesitate to let me know.
    In this scenario, we can create a temporary table with Group and Sub_group columns, then select Sub_group column values based on the Group field. For more details, please see:
    Create a dataset with the query below:
    CREATE TABLE #temp([group] nvarchar(50),sub_group nvarchar(50))
    INSERT INTO #temp VALUES     ('group1','sub-group1'),('group1','sub-group2'),('group2','sub-group3'),('group2','sub-group4'),('group2','sub-group5')
    SELECT * FROM  #temp
    where [group]  in (@Group)
    Set available values and default values of Sub_group parameter with get values from the sub_group field in the new dataset.
    Note that the two parameters are all multiple parameters.
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Address book multiple sources

    Address book i have set up address book to work with dropbox so all the macs in our office can share the same database this removes the need for all those all those syncing applications and for one person to be in charge of the database.
    Problem is you have to limit the personal info you want in the database as every one has access to it.
    I also have many family members using mac and it would be nice to be able to do something similar with them a unified family contacts book.
    Again you would have the same issues. If Address book could work like ical and operate with multiple sources. You could have all your contacts in one location but keep the info separated and private.
    Any one know if it is possible to achieve this or if something like Bento could

    Thank you, V.K. The good news is that the group is large and the email addresses are hidden in the BCC field so Jane won't know that I have two entries for her in my address book. (And yes, I know I could call them both "Jane Doe" but at some point I would probably shoot myself in the foot by deleting the duplicate without realizing why it's there.)
    I was surprised that whoever coded Address Book and/or Mail didn't use the usual convention of being able to select multiple entries in a list. This would be a nice enhancement for a future release; it's really not that unusual for someone to request that mail be routinely sent to both a home and work email address.

  • Any Tutorial / Sample to create Single PDF from multiple source files using PDF assembler in a watched folder process.

    Any Tutorial / Sample to create Single PDF from multiple source files using PDF assembler in a watched folder process. I have a client application which will prepare number of source files and some meta data information (in .XML) which will be used in header/footer. Is it possible to put a run time generated DDX file in the watch folder and use it in Process. If possible how can I pass the file names in the DDX. Any sample Process will be very helpful.

    If possible, make use of Assembler API in your client application instead of doing this using watched folder. Here are the Assembler samples :  LiveCycle ES2.5 * Programming with LiveCycle ES2.5
    Watched folder can accept zip files (sample : Configuring a watched folder to handle multiple input files and write results to a single folder | Adobe LiveCycle Blog ). You can also use execute script to create the DDX at runtime : LiveCycle ES2 * Application Development Using LiveCycle Workbench ES2
    Thanks
    Wasil

  • Howto deal with multiple source files having the same filename...?

    Ahoi again.
    I'm currently trying to make a package for the recent version of subversive for Eclipse Ganymede and I'm almost finished.
    Some time ago the svn.connector components have been split from the official subversive distribution and have to be packed/packaged extra. And here is where my problem arises.
    The svn.connector consists (among other things) of two files which are named the same:
    http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/features/org.polarion.eclipse.team.svn.connector_2.0.3.I20080814-1500.jar
    http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/plugins/org.polarion.eclipse.team.svn.connector_2.0.3.I20080814-1500.jar
    At the moment makepkg downloads the first one, looks at its cache, and thinks that it already has the second file, too, because it has the same name. As a result, I can neither fetch both files nor use both of them in the build()-function...
    Are there currently any mechanisms in makepkg to deal with multiple source files having the same name?
    The only solution I see at the moment would be to only include the first file in the source array, install it in the build()-function and then manually download the second one via wget and install it after that (AKA Quick & Dirty).
    But of course I would prefer a nicer solution to this problem if possible. ^^
    TIA!
    G_Syme

    Allan wrote:I think you should file a bug report asking for a way to deal with this (but I'm not sure how to fix this at the moment...)
    OK, I've filed a bug report and have also included a suggestion how to solve this problem.

  • File sender ch. - specifying multiple source with *

    Hi folks,
    In my File2Idoc scenario I need to pick up files from an ftp server where I have about 20 partners which folders look the same.
    like
    root/p1/subd1/import
            p1/subd2/import
            p2/subd1/import
            p2/subd2/import
    In my file sender channel I wanted to specify /root///import but it didnt work.
    1. Is there a way to specify directories like above?
        Or do I have to enumerate all the directories (near 100) in the Advanced selection for source file in the adapter?
    2. I have to move the processed files to import/archive in each partners folder.
        If I specify multiple sources in the adapter, how can I reference them in the Archive directory field on Processing tab?
    thanks

    Hi ,
    While you are using the FTP File Adapter then in the sender Communication channel
    Go to source Directory : then mentioned the /direcotry/filename then under mentioned the File name.
    After that Go to Process Mode tab in the Sender CC Select the Process Mode like "Archive " then you mentioned the Archive directory Path like for ex: /dirname/interfaces/devision/inboundoroutbound/archive then choose the file Type Binary
    May be it helpful to you !
    Regards,
    Ravi.

  • What is the use of Multiple source in Logical Table under BMM Layer?

    what is the use of Multiple source in Logical Table under BMM Layer?
    thanks in advance

    Or more generally speaking:
    To create a "logical table" consisting of multiple "physical tables"...hence the names. It's the backbone of the whole BI server concept and the way the rpd handles the requests.
    I.e.: how would you otherwise proceed for making an analyzable table from SAP, Teradata, Oracle and a flat file with no full change-access to all the data sources?

  • Bug in Config Data Source Parameter on Content presenter

    Hi all,
    I find out a bug when we configure Data Source parameter on Content Presenter at run-time.
    Example:
    I configure the value for Data Source is:
    ${'SELECT * FROM ora:t:IDC:Profile:TinbaiProfile WHERE ora:p:xmNgayxuatban < TIMESTAMP \''}${pageFlowScope.utilsBean.strCurrentDate}${'\''}
    and Data Source Type: Query Expression
    Then Click OK to save my configuration and close the popup
    After that I came back the Component Properties: Content presenter dialog to configure more parameter. And I saw the value in the Data Source is:
    SELECT * FROM ora:t:IDC:Profile:TinbaiProfile WHERE ora:p:xmNgayxuatban < TIMESTAMP ''}${pageFlowScope.utilsBean.strCurrentDate}${''
    If I do anything else and click Apply or OK, it will alert the error message "Error: Error Parsing..."
    It's really a bug of this component. I known it happen from version 11.1.1.6.0 and hope the next version it will be fixed. But now is version 11.1.1.8.0 this bug still here .
    In my opinion Oracle should do more and more for a good produce with high value as $ for buying their produces and services
    Thanks!

    Thanks DanielMerchán!
    I have one more question about the error when I config the JOC for the manage server where my portal application is deployed.
    After finish config JOC for my manage server as the link Configuring the Distributed Java Object Cache - 11g Release 1 (11.1.1), my portal application can't run anymore. Check the log I saw the error:
    <Sep 17, 2013 4:59:17 PM ICT> <Error> <oracle.as.cache.groupv2.HttpHandler> <BEA-000000> <CO-0 Invalid HTTP request information: GET /ubck/faces/vi/vimenu/vipages_trangchu HTTP/1.1>
    Do you know why? I do something wrong
    Thanks!

  • Multiple source databases

    Hello,
    I need to load data into dimensions and cube from multiple source databases. We have separate transaction databases for each country, but data must be loaded into common target schema. At the moment we have created mappings which loads data from one source database.
    What is the best way to populate, for example customers dimension from customers transaction tables (located in multiple source databases) if business identifiers can overlap?

    I would break this up into two pieces: the load from the source systems into the staging area, and then the load from the staging area into the target table, which you mentioned was a dimension.
    There is no reason you would have to use views or synonyms if you don't want to. You could approach this either with a SET operator, in this case a union, that brought all the sources together into the staging table. However, I would likely create multiple mappings for each source system. I would create a mapping for each table that you have to pull data from, and then create a separate process flow that controls all the tables being pulled from a particular source database. This allows you to schedule the extractions from the source systems independently of each other in case they need to run at different times. The end result of all of this will be a series of staging tables that are loaded from source tables from all the different locations. For each of the singular mappings, I would create a constant that defined the source of the data for this mapping, and load that constant into a column called SOURCE_SYSTEM, or perhaps COUNTRY, as you mentioned. Then, this SOURCE_SYSTEM/COUNTRY column + SOURCE_SYSTEM_ID would serve as the natural key.
    You can choose to persist these tables (as an ODS of sorts) or not... that is up to you and your requirements.
    Finally, I would create a single mapping that loads the final target table from the single staging table.
    Let me know if this doesn't make sense.
    Regards,
    Stewart Bryson

Maybe you are looking for

  • Macbook will not boot after last 10.5.2 airport update

    Installing the latest airport update to 10.5.2 killed my macbook. If I do a opotion+apple key+s, I get the following message loading system\library\extension.mkext .............error x0000008 or something like that. Any suggestions on how to fix that

  • Firefox will not quit when closed.

    I have two problems with Firefox. It "hangs up" after a couple of minutes and will not quit and when I go to restart my computer, I now have to manually close some windows to get the computer to restart. I was on Firefox 3 something and Firefox would

  • Printer driver for brady ip600 not found

    Hi Friends, I need to print barcode label through Brady IP600 Model Printer, I didn't found the specific drivers for sap for this printer and please give some idea how i can make a device type for this model printer to print my Barcode Label. Thanks

  • Problem in data fetching

    Hi frnds , When i am testing my workflow i am able to see the values properly . I am havign a activity which is caling a standard template via method which is having some parametres for fetchign the email . so the email is also going to the proper pe

  • Pint user name in the report

    Hi I want to print the user name in the report. How can I ? Here username is the one which i am using to login into apex. Thanks Nav. Edited by: user13129164 on May 18, 2010 11:53 PM