Open a SharePoint List item in Modal Pop up in SP 2013 fails after you filter or sort the list

Sorry for the long post. This has been killing me. I had this script working perfectly fine in SharePoint 2010 (online) and basically i have a source custom list (list A) with a hyperlink column and a Destination List with say title and my name.
Source List (list A) looks like this with these 2 columns
Title    Test Link
A         Link 1
B         Link 2 
C         Link 3
Each of these links link to the actual list item in the destination list, so for example, link 1 is/sites/2013DevSite/Lists/Destination%20List/EditForm.aspx?ID=1
So basically i want anytime the Link are clicked that point to another list's item to open in a modal dialog and the script below worked perfectly fine in SharePoint 2010 (online)
<script language="javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>
<script language ="javascript" type="text/javascript">   
jQuery(document).ready(function() {
jQuery('a[href*="EditForm.aspx"]').each(function (i, e) {
// Store the A tag's current href in a variable
var currentHref = jQuery(e).attr('href');
jQuery(e).attr({
'href': 'javascript:void(0);', 
// Use the stored href as argument for the ShowInModal functions parameter.
'onclick': 'ShowInModal("' + currentHref + '");'
function ShowInModal(href) {
SP.UI.ModalDialog.showModalDialog({title: "Edit Item", url: href});    
</script>
All it does is find the href tags for that particular value Editform.aspx and the pop modal works in SP 2010 online. So the site page is designed in such a way there is a content editor web part with the reference to this javascript file and the sharepoint
list is right beneath it and this worked perfectly opening in modal windows in SP 2010.
Since migration to 2013, this is what exactly happens
1.) when you come to the site page, the modal works,
2.) If you filter or sort on say the Title or Test Link column in Source list (lets say you select the Value A), the script does not fire at all, if i hover over the hyperlink, the who hyperlink is shown and does not open the hyperlink in the modal pop up.
- This is important because i want to be able to sort on a particular item...
Could someone please let me know what am i doing wrong and why is this not working when i sort the list. Thanks for all the help.
Once again i am trying to open a sharepoint list item in Sharepoint 2013 from another list using Jquery

A ListItem has its own unique row id so in all likelihood, an insert with the same data will result in a new list entry. The Lists Web Service however, has an UpdateListItem method which will take an update request. [refer
http://msdn.microsoft.com/en-us/library/office/websvclists.lists.updatelistitems(v=office.15).aspx ]
There is another note in the conference (marked answered) to your List Item Update problem. Probably worth a try too. [refer
http://social.msdn.microsoft.com/Forums/en-US/bee8f6c6-3259-4764-bafa-6689f5fd6ec9/how-to-update-an-existing-item-in-a-sharepoint-list-using-the-wss-adapter-for-biztalk?forum=biztalkgeneral ]
Regards.

Similar Messages

  • The item referred to by this shortcut cannot be accessed. You may not have the appropriate permissions

    Hi
    I originally posted this in the Windows 7 Networking forum and they advised to post it here.
    We use Windows 7 SP1 clients with Roaming Profile and Folder Redirection and they are connected to a Windows 2008 SP2 server.  We are getting issues when someone tries to open files on their redirected Desktop and they get the message "'The item
    referred to by this shortcut cannot be accessed. You may not have the appropriate permissions" if you click browse it then defaults to a different users profile.  If you click through the errors the file eventually loads.  If you open Word from
    the Start menu and then browse to the file it opens fine.  We have found that deleteting the Normal.DOTM file sometimes fixes the error, but only seems effective 50% of the time.  This doesn't happen for all users, and seems to occur in small
    groups and not all the time.  We have also had the same message come up with someone trying to open Word files an online learning resource we have created.
    There are a couple of events showing for about the time the error occured they are:
    Type Error Source Application Error Category Name 100 Event 1000
    Faulting application name: WINWORD.EXE, version: 14.0.4762.1000, time stamp: 0x4bae25b7
    Faulting module name: wwlib.dll, version: 14.0.4762.1000, time stamp: 0x4bae2623
    Exception code: 0xc0000005
    Fault offset: 0x00034b81
    Faulting process id: 0x1734
    Faulting application start time: 0x01d0234ef75c42aa
    Faulting application path: C:\Program Files (x86)\Microsoft Office\Office14\WINWORD.EXE
    Faulting module path: C:\Program Files (x86)\Microsoft Office\Office14\wwlib.dll
    Report Id: 6f74438b-8f42-11e4-9e45-00c2c6506cb5
    Type information Source Office Software Protection Platform Service Category Name 0 Event 1003The Software Protection service has completed licensing status check.
    Application Id=59a52881-a989-479d-af46-f275c6370663
    Licensing Status=
    1: 1f76e346-e0be-49bc-9954-70ec53a4fcfe, 1, 1 [(0 [0x00000000, 1, 0], [(?)(?)( 1 0x00000000 30 0 msft:rm/algorithm/hwid/4.0 0x00000000 0)(?)(?)(?)])(1 )(2 )]
    2: 9da2a678-fb6b-4e67-ab84-60dd6a9c819a, 1, 0 [(0 [0xC004F014, 0, 0], [(?)(?)(?)(?)(?)(?)])(1 )(2 )]
    3: dd457678-5c3e-48e4-bc67-a89b7a3e3b44, 1, 0 [(0 [0xC004F014, 0, 0], [(?)(?)(?)(?)(?)(?)])(1 )(2 )]
    The software protection message we get in clusters of about 6 or more multiple times through the day

    Hi
    An update.  We have approx 400 people with roaming profile/folder redirection on Windows 7/2008 and this only seems to have occurred to about 15 people, and then seems to clear up for a period and then happens again.  We also have a similar number
    of people with roaming profile/folder redirection on Windows 7/2003 system and we haven't had a report of this issue happening on this setup.
    So far we haven't been able to replicate the issue using a test account, so are struggling to find out what is causing it and why it is so random.
    Regrds
    Dave

  • Project 2013 - How do you sort the list of Enterprise Templates in Project Pro?

    In Project Pro 2013, click File > New > Enterprise I see the list of templates from our project server. We have a global installation with 40-50 templates. These are displayed in a random order and reading through the whole list to find the one I
    want is quite tedious. Is there a way to sort this list alphabetically? Can the list be displayed as a "details" view rather than icons?

    Greg --
    Guillaume is totally correct.  The display order of enterprise templates is by the date they were created.  I have tested this on a Project Server 2013 system that has the latest Cumulative Updates applied.  The problem is that in the
    Microsoft Project 2013 desktop application, Microsoft has ditched the Templates dialog we used to see and replaced it with a page in the Backstage.  I am afraid that in doing so, they have eliminated the sorting capabilities that we found in earlier versions.
    Out of curiosity, I have sent an e-mail to my MPV contacts within the Microsoft Project Server development team at Microsoft, asking if there is any intention of changing this functionality to allow for sorting by template name.  If I get an answer,
    I will post it in this user forum.
    Your question is a good one, and the sorting problem (or lack of sorting) can be a real problem in any organization that has a sizable number of enterprise templates.  Hope this additional bit helps.
    Dale A. Howard [MVP]

  • Sorting the list of value like in BEX but out of crystal report

    All,
    I have created a crystal report base on a BEX query where I have a variable for which  i am filtering base on a field period.fiscalyear.
    for the list of values that prompt you for this variable ...
    l in BEX we can do the sort by either alphabetical ascending order or descending alphabetical order such as:
    here is for ascending
    001.2008
    001.2009
    or by clicking on it we can do the following: (descending)
    012.2009
    012.2009
    however in crystal when refreshing the report in infoview it sorts the list of value base on the month
    something like this :
    JAN 2008 [0FISCPER].[K42008001]
    FEB 2008 [0FISCPER].[K42008002]
    We would like to have in crystal the same behaviour than in BEX,  so in crystal we would like to be able to get the list of values sorted in either ascending order to descending order. is there a way to do so ?
    notes also that we would like to avoid to create the variable in crystal
    Philippe

    Hi,
    in Crystal Reports you have per InfoObject - depending on the definition - the key value, the description and the member unique name. In BW these objects are defined as NUMC in most cases - which means it is a character / string.
    In your example the value is 001.2008 and 001.2009. What you can do in Crystal Reports is to split up the values into year and month and then sort based on the actual numbers.
    Ingo

  • Is it possible to sort the list of Conditions/Calculations?

    Is it possible to sort the list of Conditions/Calculations so that they display alphabetically in the list?
    My list of conditions is getting quite long and haphazard now!
    Cheers
    Sapphie

    I was afraid of that!. It is very disappointing because , as I am developing a set of reports for the first time, I will create conditions/calculations in quite a non-ordered way and then end up wanting to group similar ones together.
    Hopefully a future version will allow this?
    Lee

  • I keep getting this pop up.To view this web content, you need to install the Java Runtime Environment. How can I get rid of it?

    I keep getting this pop up - To view this web content, you need to install the Java Runtime Environment. How do I get rid of it. 

    Most likely, you have a web plugin that depends on the Java runtime distributed by Apple, such as the Facebook video calling plugin or the "NexDef" plugin for watching baseball streams. If you no longer need the plugin, remove it. Otherwise, install Java.

  • I uninstalled Firefox and not it will not install for me. I get a error that says, The item referred to by this shortcut cannot be accessed. You may not have the appropriate permissions. What can I do?

    I uninstalled Firefox and not it will not install for me. I get a error that says, The item referred to by this shortcut cannot be accessed. You may not have the appropriate permissions. What can I do?

    Here is a pic.

  • New feature request: please show values once i sort the list in My Samples

    would like to see actual stats / values once i sort the list in My Samples, for e.g. it would be great to display the download count in the list once i sort by downloads or display the ratings once i sort by ratings, etc...
    This should be just like when i search by my name when on the samples home pg.
    hope to see this feature soon, thanks!

    I have been wanting a way to search only my threads. That would be a nice feature. I know that in the last 3,800 posts I have posted something along the line of "ZZZZ" but I can only find it by looking at most of the 3800 posts. This isn't good. I could
    narrow it down to 2000 by selecting Answered, but really I still need to search? And no don't limit my threads to any amount to make it load faster because the truth is it did not load any faster on any of the 12 machines I use.
    We are the generation of needing it all at our fingertips...Don't limit anything only facilitate us getting to the specifics we need at this second. You give someone a 1 cubic foot swimming pool and tell them that's enough cause it's all the space they can
    take up at one time anyway...Give us an ocean so we can swim in the part that is good for us but help us get there with some flippers (filters) on our own threads. And please don't tell us to use a general search on all threads...I tried to find 1 of my threads
    that way and after reading though 25 or so threads proceeded to skim the headers and after 200+ I gave up trying to find my thread because you can not unless you get really lucky.
    Thank you for your time!!!
    Chris Ward

  • Loading property information list by namespace failed or property not found in the list. Verify that the schema is deployed prop

    Hi,
    My application was working fine some time back. I am not sure what has changed.I am receiving following error :
    A message received by adapter "FILE" on receive location "FILE Edi_Receive_Location_EANDIS" with URI "C:\AMR46783\OUT\*.edi" is suspended.
     Error details: There was a failure executing the receive pipeline: "Umix.Van.Pipeline.Custom_Receive_BackupEdi_Pipeline, Umix.Van.PipelineModule, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7e83b13ccba9e75d" Source: "EdiDecoder" Receive Port: "FILE_Custom_Receive_Port" URI: "C:\AMR46783\OUT\*.edi" Reason: Loading property information list by namespace failed or property not found in the list. Verify that the schema is deployed properly. 
     Any help would be appreciated.

    When using custom or 3ed party Adapter you might receive this message "Loading property information list by namespace failed or property not found
    in the list" in the event log”
    Usually this error caused by when deleting default application (BizTalk Application 1) that used to store message context
     property field schemas that are provided by adapter vendor to
    You can solve this problem by simply reinstall the adapter or selecting repair adapter option. Or GACing and deploying required property files
    manually.
    Please mark answers that solve your problem.

  • Loading property information list by namespace failed or property not found in the list. Verify that the schema is deployed properly.

    Hi,
    We are facing issue in BizTalk 2010 837 Institutional claim process. The Error is “Loading property information list by namespace failed or property not found in the list. Verify that the schema is deployed properly”.
    We have used Custom Pipeline component to update the promoted property like MessageType. When we drop the XML File in Receive Location it generates the XML file through Pipeline but promoted property MessageType is not updated in Receive Location and throw
    the error as mentioned.
    We have the schema which is not duplicate as well as different version.
    Could you please help on this issue.
    Thanks in advance.

    Praveen,
    There are two issues here.
    “Loading property information list by namespace failed or property not found in the list. Verify that the schema is deployed properly” issue is normally due to the deployment issues. This more often occurs when you have same schema with multiple
    version and this issue is due to the sequence/order in which these two schemas are deployed. If you run the following SQL query in your BizTalk management db replacing it with your target namespace of the schema deployed
    SELECT *
    FROM bt_XMLShare
    WHERE target_namespace like N'http://YourTaggetNameSpace'
    You shall see two version of the same schema listed and both of them should have Activate flag set to 1. If any of the schemas is set to 0, then you will have the above mentioned issues. This is due to the way the different versions of the schemas are deployed.
    You can undeply both the version, deploy them together or deploy the older version first and the later version later.
    And for another issue of custom property not updating the MessageType property, debug the pipeline component code. This issue has no direct impact to the above issue. If you you’re your Message Type to be updated and if it’s not getting changed, then debug
    the code and check why its not been updated.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • I can't get it to open after download. Get message "the item referred to by this shortcut cannot be accessed. You may not have the appropriate permissions."

    I can't get Firefox to open after I download it. I don't understand why I am getting the error message I am getting. I am the only user of the PC- what does I don;t have appropriate permissions mean or why do I get it?

    Ok. seems like I am in bigger problem than what i thought..So i did what you asked me and here is the log from the scan
    Malwarebytes Anti-Malware (Trial) 1.62.0.1300
    www.malwarebytes.org
    Database version: v2012.07.25.04
    Windows 7 Service Pack 1 x64 NTFS
    Internet Explorer 9.0.8112.16421
    [administrator
    Protection: Enabled
    7/25/2012 8:34:03 PM
    mbam-log-2012-07-25 (20-42-53).txt
    Scan type: Quick scan
    Scan options enabled: Memory | Startup | Registry | File System | Heuristics/Extra | Heuristics/Shuriken | PUP | PUM
    Scan options disabled: P2P
    Objects scanned: 239337
    Time elapsed: 7 minute(s), 52 second(s)
    Memory Processes Detected: 0
    (No malicious items detected)
    Memory Modules Detected: 0
    (No malicious items detected)
    Registry Keys Detected: 1
    HKLM\SOFTWARE\Google\chrome\Extensions\fdloijijlkoblmigdofommgnheckmaki (PUP.Funmoods) -> No action taken.
    Registry Values Detected: 0
    (No malicious items detected)
    Registry Data Items Detected: 0
    (No malicious items detected)
    Folders Detected: 0
    (No malicious items detected)
    Files Detected: 3
    C:\Users\mer\Downloads\7zip_Setup.exe (PUP.Bundle.Installer.OI) -> No action taken.
    C:\Users\mer\Downloads\Setup.exe (PUP.Bundle.Installer.OI) -> No action taken.
    C:\Users\mer\Downloads\SoftonicDownloader_for_mkv-player.exe (PUP.ToolbarDownloader) -> No action taken.
    So I removed everything and did the restart but still didn't work, the I used Microsoft Security Essentials and find this one: TrojanDownloader:ASX/Wimad.DS and the alert level was severe so I removed too and the problem was still there even after restarting the computer, Now I am kinda lost and I dont Know what to do.

  • HT1766 Can an iCloud backup not belong to you but appear on the list of backups you can choose to restore from?

    Recently I removed my SIM from my 4S and after some time I realized that the Viber messages along with some other content was gone. Someone told me that this was a security mechanism. I tried to restore the missing content by completely resetting my iPhone and restoring from an earlier iCloud backup. Now, here comes the weird part, the backups listed were indeed from my device but the Apple ID that the phone asked me to confirm in order to proceed with the media restore wasn’t mine. How can this be? Does this mean that iCloud was compromised and someone got access to my account? What’s the implications of this? Are iCloud backups encrypted, or do I have to change every single password and authenticator access that was on my phone? Anyone encountered the same issue?

    Cancel this question.  I went into my pictures and there they were. Uhhhh DUH!!!
      Gotta love iCloud!!!  Thanks guys for putting up with my silly question!  At least I gave some of you a good laugh.  Have a great day and thanks for letting me play awhile in here!!!

  • Sort the list of Favorite Servers, in the Connect to Server window?

    Hello...
    In 10.5 and 10.6, can I change the order of the Favorite Servers list in the Connect to Server window?
    I see the data is stored as files in ~/Library/Favorites, but I'm not seeing where the Connect to Server window gets its sort order.
    TIA

    Greg --
    Guillaume is totally correct.  The display order of enterprise templates is by the date they were created.  I have tested this on a Project Server 2013 system that has the latest Cumulative Updates applied.  The problem is that in the
    Microsoft Project 2013 desktop application, Microsoft has ditched the Templates dialog we used to see and replaced it with a page in the Backstage.  I am afraid that in doing so, they have eliminated the sorting capabilities that we found in earlier versions.
    Out of curiosity, I have sent an e-mail to my MPV contacts within the Microsoft Project Server development team at Microsoft, asking if there is any intention of changing this functionality to allow for sorting by template name.  If I get an answer,
    I will post it in this user forum.
    Your question is a good one, and the sorting problem (or lack of sorting) can be a real problem in any organization that has a sizable number of enterprise templates.  Hope this additional bit helps.
    Dale A. Howard [MVP]

  • Entry in contact list does not show up when you try to edit the list in v4

    When clicking the "To" box for a new message I have as the last entry a name in bold that is not something I recognize and when going into my contact list so as to remove it, it does NOT show up.
    How do I get rid of it? IE: find it so as to delete it. Search in windows 7 does not locate the file. Below is header when asking for source.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html style="overflow:hidden;">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <style type="text/css">body{display:none;}</style><script type="text/javascript">//<![CDATA[
    document.domain="live.com";var $CJ={p:'oW4FrovLqBupRKg45hbwJPnFBJ9loqzn4zN2PaAzotg\x3d0',c:'',s:1};new function(){var b=1,a=window,g=a.location.hash,d,h="canary=",f=a.$CJ,e=f.c;try{if(a.self==a.top)b=0;else if(e&&(g.indexOf(h+e)>-1||g.indexOf(h+unescape(e))>-1))b=0;else if(f.s)try{b=a.parent.$CJ.p!==f.p}catch(c){}}catch(c){}if(b){try{a.top.location.replace(a.location.href)}catch(c){try{a.top.location=a.location}catch(c){}}d='<plaintext style="display:none">'}else d=unescape("%3C%73")+'tyle type="text/css">body{display:block !important;}</style>';document.write(d)};
    //]]></script>

    If you created a new AppleID with the new email address, then that is exactly what will happen.  Purchases are permanently tied to the AppleID you used when buying them.  Anything tied to an old(er) AppleID is forever tied to it and you need that older AppleID's password to update those apps.
    Your only option is to buy those apps again, paying a second time, to get them under your new AppleID.
    For future reference, if you just wish to change the primary email you are using for your AppleID, you should log in to the "Mange your AppleID" section at https://appleid.apple.com and just edit the primary email address for your existing AppleID.

  • How do you go back to the list view on the new iTunes?

    I just want my music in a list with the artist and genre like it was before, is there a way to do that?

    How did you solve this!?!?!

Maybe you are looking for

  • Can't get wake on lan to work on Hp n40l microserver

    Hello I installed arch on my HP proliant microserver and I can not get Wake on lan to work. I tested my device with ethtool and it supports and is enabled for WOL with g value set for both. But whenever I power it off by systemctl poweroff I can no l

  • Cancel PO - Release strategy remains active... WHY?

    Sometimes, when I cancel a Purchase Order with the bin, the release strategy remains active and the approver finds the PO among the ones he has to approve, even if it has been cancelled. In many other cases, instead, when I cancel a PO the release st

  • During sync my ipod freezes when copying angry birds app

    During sync my Ipod freezes when it tyies to update the angry birds app.  I cannot get past it and therefore cant finish the sync.  can anyone help me?

  • Using a guest wi-fi network with changing username and password

    I am trying to access a "guest user" wi-fi network at my office. For security purposes, the guest network username and password are changed periodically. The connection worked fine until the username and password changed. Is there any way to access t

  • Cin Configuration.

    Dear Experts, I have following query. There is one trading company which purchases exisable materials. Since it is a trading company, no cenvat of excise is taken and no registers are maintained. This company also purchases services. The credit on se