Clicking on LinkTitle in list opens allitems instead of custom application form

Hello, This question is pertaining to SharePoint 2010.
I have one list which has two content types. We have modified the detault forms (new,edit and display) of each content type to its individual custom application pages. We have done this through coding.
SPContentType CT1= requestsList.ContentTypes["CT1"];
//Change Edit and edit URL to custom application page
CT1.NewFormUrl = "_layouts/folder/customnewapplicationpage.aspx;
CT1.EditFormUrl = "_layouts/folder/customeditapplicationpage.aspx;
CT1.DisplayFormUrl = "_layouts/folder/customdisplayapplicationpage.aspx;
//Delete the default from to enable custom application pages.
CT1.XmlDocuments.Delete("http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url");
web.AllowUnsafeUpdates = true;
CT1.Update();
list.Update();
And same update for the other content type. Everything works well.
When we click on new, custom new form opens, when we click on edit, custom edit form opens, when we click on view item, custom view form opens for respective content type. The problem is when we click on linktitle field value in allitems.aspx, it opens up
allitems.aspx page instead of opening display form as model dialog which is does when we click on view item by either selecting in ECB menu or from ribbon.
On custom application pages, I am using SharePoint:SaveButton to save values so that I do not need to write down the code.
I just tested one thing that, if we have our custom button and if we write traditional way to inserting list item into the list with specifying ContentTypeId in list item, then this problem does not appear. This is when SharePoint:SaveButton is clicked and
item is saved, at this time problem appears. I prefer going with SharePoint:SaveButton as I have more than 70 fields on the form and do not want to write a code to set values for 70 fields by doing SPList.AddItem()
According to me, SharePoint:SaveButton is saving list item inside folder because when we update the view and set to show items without folder, I cannot see list items saved using SharePoint:SaveButton click. But when i switch back to show items with
folder, all items appear. This may be the reason when I click on LinkTitle directly on that hyperlink, it opens up AllItems.aspx with FolderCTId={} as one of the query string.
Any pointers would be highly appreciated.

Hi,
We can do as follows:
1. Change the URL of Title field to the URL of custom application page using JavaScript.
2. Create a calculated column and set formula: ="<a href='"&UrlFieldName&"'>"&Title&"</a>", then we can use it as a “Title” column.
http://sharepoint.stackexchange.com/questions/58954/link-title-in-list-to-value-in-url-column
3. If you want to customize list form and use  SharePoint:SaveButton control to save the data, the following articles for your reference:
http://ariwibawa-sharepoint.blogspot.com/2012/12/make-addeditview-custom-form-and-custom.html
http://thesharepointdive.wordpress.com/2012/03/20/list-forms-deployment-for-sharepoint-2010-part-1-of-4/
Thanks,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Dennis Guo
TechNet Community Support

Similar Messages

  • How can I list open files from the same application

    I often have several different files open in Word, Excel or Adobe.  However only one is visible.  How do I get a quick list of the other open files from an application?

    Many applications have a Window menu at the top of the screen. Clicking on it will list all the open windows, as well as providing other options depending on the application.
    (113485)

  • Clicking on a link that opens Internet Explorer slows all applications to near frozen. Solution?

    Firefox is my default browser. Every time I click on a link that opens in Internet Explorer (I. E.) , my entire system slows to near freezing. All operations, including shut down, take forever. The only way I've found to resolve the issue has been to shut down, and reboot. I've tried to avoid clicking on I. E. links, but some websites (especially some customer service links) seem to be available only through I. E.

    Hi,
    Usually if such programs are hard-coded to look for and open IE, then setting Firefox as the default browser ('''Tools''' ('''Alt''' + '''T''') > '''Options''' > [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Advanced%20panel?as=u Advanced] > '''General''') may not be effective. You can try to contact the providers and request an update to their programs/services. You can also try to deselect Internet Explorer in Windows Control Panel > Add or Remove Programs > Add/Remove Windows Components (this only removes the references from the Start menu, other locations and hides the IE executable, doesn't uninstall IE).

  • Everytime I click an email link it opens IE instead of Firefox. I have firefox set as default browser but it doesn't seem to matter.

    I don't want to delete IE altogether but I really prefer firefox. Any suggestions?

    Try the option to "Force Firefox to make itself the default" as shown in this article - http://kb.mozillazine.org/Default_browser
    Another possibility is your email application may be hard-coded to use IE.

  • How to open file in their native application

    How to open file in their native application form web browser?
    if associated .txt file should open in editplus then from web browser if I try to open .txt file it should open in editplus rather then open in notepad(default), If on other computer if I associate .txt file should open in word, it should open in word. I am using Tomcat Web Server.

    that's nothing you could influence from a servlet or jsp.
    all you could do is specifying the content type of your response.
    Next you might hope that the client requesting your content uses a browser that relates the given content type to a special application (e.g. "text/plain" -> editplus or notepad or kedit or word or ...)

  • Right click on the mail list doesn't open the context menu any more.

    Hi everybody,
    Thunderbird stoped to show the context menu on the mail list recently. Right click just prints the crossing line. What the problem could it be?
    Thanks anyone for any help.
    Win 8.1 64
    Thun 31.3.0

    ''Nick532 [[#question-1037921|said]]''
    <blockquote>
    Hi everybody,
    Thunderbird stoped to show the context menu on the mail list recently. Right click just prints the crossing line. What the problem could it be?
    Thanks anyone for any help.
    Win 8.1 64
    Thun 31.3.0
    </blockquote>
    ''Toad-Hall [[#answer-668503|said]]''
    <blockquote>
    Very odd.
    Right click on email in list should open a drop down selection.
    Usually a crossed line through something denotes that it is marked as deleted in an imap mail account.
    * http://kb.mozillazine.org/Deleting_messages_in_IMAP_accounts
    See if there is a conflict with an addon.
    Restart Thunderbird in safe mode.
    Help > Restart with addons disabled.
    then perform the same test; right click on email in list.
    Do you get the drop down, if yes, then one of your addons is causing the conflict.
    You would have to disbale each in turn to locate which one is the problem.
    Maybe the addon needs updating.
    Report back on results.
    </blockquote>
    I have the same problem too. When i restarted with addons disablem problem dissapeared but when i switch to normal mode and disable all off the plugins and addons the problem still remains.
    Please help.

  • Middle clicking on a tab sometimes opens a new tab instead of closing it, happens at random and persists until browser restart.

    When this happens I'm also actually completely unable to close tabs without using ctrl+f4, the close button on tabs no longer works. I also tend to have a lot of tabs open so the close button doesn't show until the tab is selected, but when I try to select the tab and rightclick it to access the close option in the dropdown menu, the option is not present. I'm given a different menu that looks like the one that appears in View>Toolbars.
    I haven't been able to reliably reproduce it, but it happens pretty often and with no apparent trigger other than Firefox being open for some amount of time. The number of tabs open doesn't seem to affect it at all.
    Help would be appreciated!

    Hi,
    Please see [https://support.mozilla.org/en-US/kb/tab-mix-plus-incompatible-update-to-fix this].
    If problems persist, you can also reset Firefox. To save a listing of the add-ons, important modified preferences/settings etc. to quickly replicate the previous profile, please '''Copy all to clipboard''' (on the left of the reset button), and paste it into Office Excel, or OpenOffice/LibreOffice Calc, or notepad. However, it would be a good idea to check for the existence of the issue immediately after the reset.
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • I click a link but it doesn't open. Instead I get a popup saying "Open the link in a new window," "Open link in a new tab," etc. How can I kill this popup or whatever it is forever?

    I click a link but it doesn’t open. Instead I get a popup saying “Open the link in a new window,” “Open link in a new tab,” etc. How can I kill this popup or whatever it is forever?

    That happens if the server sends the file as text/plain.
    You can see this if you open "Tools > Page Info > General": Content-Type: text/plain
    Files send this way will always open in a tab.
    *https://developer.mozilla.org/Tools/Web_Console

  • When I'm looking at my recent text messages on my phone, and I'm on the screen where I see a list of people I have texted.  I click on a name to open up the conversation, however it is blank and doesn't show the conversation eventhough we've been tex

    when I'm looking at my recent text messages on my phone, and I'm on the screen where I see a list of people I have texted.  I click on a name to open up the conversation, however it is blank and doesn't show the conversation even though we've been texting back and forth the day before.  So my question is how can I see the conversation?

    Try the following procedure:
    Close all open apps by double-tapping the home button, then swiping up and off the screen with the app window (not the smaller icon).
    Reset your device: hold down the home button along with the sleep/wake button until the screen goes black and you see the Apple, then let go. (No data loss)

  • Open Edit form directly when list item is clicked in Sharepoint 2013 list

    Hi,
    I have a list web part, wherein the user clicks the item it should open in the Edit form directly. various forum i checked was for SharePoint 2010, as we do not have design mode in SharePoint designer 2013, I am unable to do.. I know
    if I the change the form type from default page to edit page, it will work, but not sure about how to go ahead. Could anyone help me to achieve this please....

    Sunitha,
    You can do this with some jQuery and JavaScript.  Look at this post:
    http://brandonatkinson.blogspot.com/2013/11/open-sharepoint-2013-list-items.html
    Basically, add a Script Editor Web Part to the page and include this snippet:
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
    <script type="text/javascript">
    $(function() {
    // Change all display form links to edit form links
    $('.ms-vb a[href*="listform.aspx"]').each(function(){
    var link = $(this).attr('href');
    link = link.replace("PageType=4", "PageType=6");
    $(this).attr('href', link);
    </script>
    Brandon Atkinson
    Blog: http://brandonatkinson.blogspot.com

  • When i open Youtube....and click on any video; video doesnt play instead in the player space is complete black? how do i fix this issue?

    When i open Youtube....and click on any video; video doesnt play instead in the player space is complete black? how do i fix this issue?

    Looking at your system details, it doesn't look like you've got the Adobe Flash Plugin installed. Try following the instructions here: [[How do I install the Flash plugin?]]

  • When I click on a email link my default outlook doesn't open. Instead gmail keeps opening. I have outlook checked as default already

    When I click on a email link my default outlook doesn't open. Instead gmail keeps opening. I have outlook checked as default already

    There are 2 settings to check for email programs, one is the Windows default email program which you probably already have set to Outlook. The other is a Firefox setting that determines how it handles mailto links. The second one may be set to Gmail. For details see [[Changing the e-mail program used by Firefox]]

  • How can I remove viruses off my computer? I have mac OS X, but I clicked on a website on google and it didn't open. Instead the security program popped up and said that my computer is at risk of a crash and has detected several viruses!?!?! AAAAHHH!?!?!

    How can I remove viruses off my computer? I have mac OS X, but I clicked on a website on google and it didn't open. Instead the security program popped up and said that my computer is at risk of a crash and has detected several viruses!?!?! AAAAHHH!?!?!

    MnM
    It's probably the MacDefender scareware trojan horse. If you have this here is how to remove it.
    1. Open Activity Monitor look for MacDefender process double click on it and hit quit or force quit.
    2. Go to System Preferences, Go to accounts, Go to login items look for anything related to MacDefender hightlight it by clcking on it once. Then hit the minus sign to remove it.
    3. Go to applications folder and drag MacDefender to the trash.
    4. Open finder and do a search for Macdefender and remove anything you see related to MacDefender.
    5. Open Spotlight (the little magnyfing glass in the menubar far right corner) and do a search for MacDefender.
    6. Restart your computer and empty trash.
    7. If you feel you need to have virus protection for your Mac use ClamXav. It's the recommended AV program for MacOSX. Hope this helps.
    Joseph

  • How do i set the home button to refresh open tabs instead of opening new ones each time i click on it

    Everytime i click on the "home" button, FF 3.6 opens my three home pages as three new tabs. If i click twice, it opens three more. In IE, if i click the home button i have a choice to either refresh the three tabs starting with which ever one is open (for example, if my second tab page is where I am, that becomes home page #1 and so forth) OR i can select the specific home page i want to return to via a drop down.
    At a minimum, I'd like to set my home button to just open using currently open tabs and not appending. It must be possible b/c DH's FF browser does not do this. What am I missing?

    The best way to keep your home page in the tab is to open other links in a new tab with a middle-click.<br />
    Clicking the home page always open a new set, so you would have to close the current tabs first to prevent getting multiple home page sets.<br />
    I don't know if there is still an extension that can open the home pages and replace the current set.
    See also:
    *https://addons.mozilla.org/en-US/firefox/addon/multiple-tab-handler/

  • Would like Photoshop to open photos instead of Preview

    How can I set it up so when I double click on a photo file, it will automatically open in Photoshop, instead of the Preview?
    Thanks.

    Hi
    Control click or right click on an image file, a sub-menu appears, one of the options on the menu is 'Open With" with a sub-menu coming from that. On this sub-menu will be listed installed applications capable of opening the file, at the bottom of the menu is the 'Other' option, select this and you should be presented with a finder window that allows you to add the application you want to use to open those files, at the bottom right hand corner of the window is the 'Always Open With' option, select desired application and enable the option.
    Tony

Maybe you are looking for

  • Problems with JDesktopPane and JInternalFrame

    hello merry christmas . I have some strange problem with JDesktopPane . I have a frame with an splitpane and in right side of splitpane i have a JDesktopPane . I can easily add InternalFrames to this JDesktopPane but when there is two or more Interna

  • Getting music

    I just got a new computer and I want to put the music I have from my ipod onto it. How do I do that.

  • Why my exit menu did work???

    this is my codes.no syntax errors.ubt the exit menu does not work.can someone correct it???please... import java.awt.*; import java.applet.*; import java.awt.event.*; public class GUI extends Applet Frame window; public void init() Object f =getParen

  • Problem with the standard

    Hi abapers, I have a big problem. I am using BAPI_RESERVATION_CHANGE in order to marked old reserves with flag of delete After, we use BAPI_RESEVATION_CRATE1 in order to create the new reservation. The problem comes because both bapis use a global va

  • UK Big bang theory season 5: full season available on iPad, not in iTunes?

    I am trying to understand why if I visit  iTunes store UK on my mac, only 15 of the 24  episodes are available. However I visit the iTunes store on my iPad ( still UK store, and my iPad syncs with the mac mentioned ) and all 24 episodes are available