How to give link to a Lookup field in sharepoint?

Hi,
     This is my first time in working in sharepoint and i am also learning sharepoint. I have a Parent List named "Orders" and "Tasks" as child list. I was able to link both the list. In the Orders list, i have a lookup
colums that shows the count of Tasks for that Order. In that column, it just showing nos but what i need is that when i click on the no, i should show the list of tasks related to that Order in a popup window. How should i do that?
Thanks.
Rajagopalan.

hi
to open a page and filter based on Order values
create a new aspx page, form1.aspx , wich will show all Tasks's items
add a param as querystring , name it param_Orders , insert as filter for the DFWP orders to be equal to
param_Orders
open the page using SharepoinDesigner
go to code and select nos
add this code
<a href =/path/form1.aspx?param_orders={@order} " target="_blank"> < xslt:value-of select="@Nos"/></a>
This way you will open a new window with tasks's items filtered by order name value
Similar , you can use javascript to open a modalwindow ( a eral example you can see on
my site
If you need more details , let me know
Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

Similar Messages

  • How to display link content on the the same sharepoint page on click event

    "How to display link content on the the same sharepoint page on click event"
    Detail:
    we are using a document library where all html files are stored/uploaded.  we would like to display/open the html file on the same sharepoint page where all the files are listed.
    Thanks.

    Use jQuery and set the target to self to the anchor tag
    Regards,
    Sairam Avacorp Technologies

  • How to give link to SharePoint 2013 document library column to open its form?

    Hi All,
    I have Infopath document library form, now i want to give link to a specific column to its own item. How to achieve this? Thanks in advance!

    Hi Sam,
    To make the custom field to act as the Name field in the list view, I recommend to use JSLINK to achieve what you want.
    Below is the code example for the js file:
    (function () {
    var overrideCtx = {};
    overrideCtx.Templates = {};
    overrideCtx.Templates.Fields = {
    'Services': { 'View' : CustomLink }
    SPClientTemplates.TemplateManager.RegisterTemplateOverrides(overrideCtx);
    function CustomLink(ctx){
    var link = ctx.CurrentItem["FileLeafRef"];
    var value =ctx.CurrentItem["Services"]
    var html="";
    if(value!="")
    {var html= "<a href='"+link+"'>"+value+"</a>";}
    return html;
    After writing the js file, you need to upload the file to SharePoint and then refer to it in the list view web part.
    http://www.learningsharepoint.com/2012/08/03/sharepoint-2013-using-js-link-to-add-javascript-to-listviewdataview-webpart/
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How to give link to concrent/request seeded page with breadcrumb from apex

    Hi,
    I have given link to Concurrent request seeded page From apex for view the details of conc/req when it is submitted from Apex button. The conc/req page is opening. But I need breadcrumb to be given into the conc/req details page to go back to my Apex page. I dont know how to give this link.
    I tried with OAWebBeanConstantes=ADD_BREADCRUMB_YES and also I tried with addBreadcrumb=Y with the URL of apps conc/req details page(MONITOR Page).
    Please someone help me ,How can I give breadcrumb to the apps page to move back to Apex once details are seen.
    Thanks
    Alaka

    Hi All,
    Please someone tell me how to resolve this...?? I have already tried with the breadcrumb as I mentioned above. But from OAF to concurrent request details (Requests) page breadcrumb feature is supporting. From Apex to that page why it is not supporting. Is there any other way to do this.?
    Thanks
    Alaka

  • How to give two values of same field in read Statment

    Hi,
    Please Tell me how to give the two values of same field in read statements Condition.
    i.e
      Read table it_tab with key matnr = '1' or matnr = '2'.
    With Regards
    Kesavaperumal

    Hi Kesavaperumal,
    <li>You can not use OR operator with READ TABLE statement.
    <li>You have to use different fields of the internal table in where condition.
    <li>If you want to compare with two values, you need to use LOOP statement.
    LOOP AT it_mara WHERE matnr = '1' or matnr = '2'.
    "Write code
    ENDLOOP.
    Thanks
    Venkat.O

  • How to send emails to Multiple Users from a Single People Picker lookup field using Sharepoint designer workflow

    Hi All,
    I am working with SharePoint 2013 designer workflow. we are using office 365.
    Our requirement to send email to multiple users, get the user groups from lookup list people and groups column.
    But SP designer sending emails to the first user alone.
    Please guide me to proceed.
    Advance Thanks.
    Regards
    Jenkins NS
    Thanks and Regards Jenkins

    finally I got a solution
     Identified a workaround to solve the issue using SharePoint designer.
    Step 1
    Create a lookup list Example department
    Columns
    Title (by default) – Single line of text
    Users – Person or Group
    Emails – Multiple lines of text
    hidden the Emails column (go to content type and set the column as hidden)
    Create a SharePoint designer Workflow
    Start Workflow automatically when an item is created
    Also Start Workflow automatically when an item is changed
    Workflow Stage 1
    Set Emails to current Item: Users
    The workflow will get all users email ids and add in the Emails column delimiter as semicolon.
    Step 2
    Create a custom list to get the email ids and send email
    Create a lookup column ex: analysis and refer department list, Allow multiple values
    Then Create a SharePoint designer workflow
    full details workflow steps please follow below
    URL
    http://jenkinsblogs.com/2015/04/30/how-to-send-emails-to-multiple-users-from-lookup-list-people-picker-field-using-sharepoint-designer-workflow/
    Thanks and Regards Jenkins

  • How to give link to a word document

    Hi,
    i want to give link to a word document or want to open a word document on button click like we do in html by using anchor tag.I have used java swing for gui.
    can anyone help me
    Thanks in Advance

    **  Here is a pure Windows solution
    **  Run the code and you will be taken to a tutorial that may provide
    **  a more generic solution
    public class WindowsProcess
         public static void main(String[] args)
              throws Exception
              String[] cmd = new String[4];
              cmd[0] = "cmd.exe";
              cmd[1] = "/C";
              cmd[2] = "start";
              cmd[3] = "http://www.javaworld.com/javaworld/javatips/jw-javatip66.html";
    //          cmd[3] = "notepad";
    //          cmd[3] = "abc.xls";
    //          cmd[3] = "a.html";
    //          cmd[3] = "file:/c:/java/temp/a.html";
              Process process = Runtime.getRuntime().exec( cmd );
    }

  • How to give link to submenu of the menubar Pls help me

    Dear Sir,
    I am new in Flex, i want to know that how can we give to link for
    child in menuBar, for new window open.
    I created one parent.mxml with menus and submenu's
    i created one component.mxml with different fields
    So i want to link component.mxml to one of the child menu.
    Thanks
    Vigin Kurakar

    <?xml version="1.0"?>
    <!-- Simple example to demonstrate the MenuBar control. -->
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="initCollections();" >
         <mx:Script>
              <![CDATA[
                   import mx.collections.*;
                   import mx.controls.Alert;
                   import mx.events.MenuEvent;
                   [Bindable]
                   public var menuBarCollection:XMLListCollection;
                   private var menubarXML:XMLList =
                        <>
                             <menuitem label="Menu1" data="top">
                                  <menuitem label="MenuItem 1-A" data="1A"/>
                                  <menuitem label="MenuItem 1-B" data="1B"/>
                             </menuitem>
                             <menuitem label="Menu2" data="top">
                                  <menuitem label="MenuItem 2-A" type="check"  data="2A"/>
                                  <menuitem type="separator"/>
                                  <menuitem label="MenuItem 2-B" >
                                       <menuitem label="SubMenuItem 3-A" type="radio"
                                            groupName="one" data="3A"/>
                                       <menuitem label="SubMenuItem 3-B" type="radio"
                                            groupName="one" data="3B"/>
                                  </menuitem>
                             </menuitem>
                        </>;
                   // Event handler to initialize the MenuBar control.
                   private function initCollections():void {
                        menuBarCollection = new XMLListCollection(menubarXML);
                   // Event handler for the MenuBar control's itemClick event.
                   private function menuHandler(event:MenuEvent):void  {
                        // Don't open the Alert for a menu bar item that
                        // opens a popup submenu.
                        /* if (event.item.@data != "top") {
                             Alert.show("Label: " + event.item.@label + "\n" +
                                  "Data: " + event.item.@data, "Clicked menu item");
                        var menuItem:String = event.item.@data;
                        switch(menuItem){
                             case "1A":Alert.show("1-A")
                                  break;
                             case "2A":Alert.show("2A");// herer the 2A is in a different level altogether
                                  break;
                             //go on like this
              ]]>
         </mx:Script>
         <mx:Panel title="MenuBar Control Example" height="75%" width="75%"
                     paddingTop="10" paddingLeft="10">
              <mx:Label width="100%" color="blue"
                          text="Select a menu item."/>
              <mx:MenuBar labelField="@label" itemClick="menuHandler(event);"
                             dataProvider="{menuBarCollection}" />
         </mx:Panel>
    </mx:Canvas>
    somthing like this will work for you.
    ref: http://examples.adobe.com/flex3/componentexplorer/explorer.html
    If you have any trouble go to the above link and view the examples, you will get good idea on all of the components.

  • How to display links in a text-field in Portal forms?

    In a database the content in a varchar2 field could include a link:
    'Shortname &lt;a ref="#" title="Full or long item name"&gt;Long name&lt;/a&gt;'
    In a Portal report this field is displayed like:
    Shortname {color:#0000ff}_Long name_
    {color}
    where the last part is a link. When pointing to this link with the mouse, the full item name is displayed. If this field is displayed in a Portal form, however, it is displayed exactly as written first:
    Shortname &lt;a ref="#" title="Full or long item name"&gt;Long name&lt;/a&gt;
    Could anybody tell how this field could be displayed as a link in Portal forms? The field itself does not need to be updated, it serves as an identifier for trailing fields in the details of a MD-form. If the long name should be displayed in the field, you would need to scroll horizontal to see the other details.

    Yes your point is clearer now. You wish to see an abridged form of a field data with the facility to see the full data when you hover on that data. just like what we see sometimes in hyperlinks.
    Both of the methods I told you work to display a modified data value* (without modifying them in the databse) and I floated them after testing. Have used slightly different functionalities in some applications a while back.
    To get the 'mouse hover' display, you may want to use the java-script event-handlers of the form elements.
    Both methods work with the premise that we do not want to change field data in DB; only displayed-data needs to be different.
    1. The idea to edit info using sql-queries or functions from default value attribute work is the main thing. how and what should we edit the data to produce is a plsql-coding problem. So for instance, for a data example like yours, the following works!
    assumption: the desired field is LINKS and is a column in PORTAL.TBL_TEST_FORMLINKS
    SELECT DECODE(LINKS, NULL,NULL,SUBSTR(LINKS,INSTR(LINKS,'>','1')+1, LENGTH(LINKS)-INSTR(LINKS,'<','2'))) FROM PORTAL.TBL_TEST_FORMLINKS
    If you need a different output or have a different requirement, then the example should be sufficient to guide you how to help yourself.
    2. The other case of javascript embedded html in an additional plsql code also works. One such example is this:
    <pre>
    BEGIN
    HTP.PRINT('<SCRIPT LANGUAGE="JavaScript1.1">
    // find the element you want to edit first;
    // hint: you may use this scheme and some basic jscript to extract the field LINKS : FORM_NAME.DEFAULT.LINKS.01
    // now use javascript to get its value; treat it to fit your requirement; and equate it back to the LINKS element;
    </SCRIPT>');
    EXCEPTION
    When Others THEN
    null;
    END;
    </pre>
    -- now follow my other instruction on FORM attributes in my second reply to see what you want to see.
    these hints should be more than enough for anyone familiar with these technologies.
    AMN

  • How to give link between 2 customized layout in f110 transactions.

    Hello Abapers,
    I am developing customized layout for f110 transaction.I have developed layour for cheques as zcheques and for payment advice,i have developed layout as zpayadvice.When i am running f110 transaction..it is giving output of cheques only,it is not giving payment advice report.when I am using standard prenumbered cheques form and it is diplaying my customized layout of payment advice(zpayadvice)..this is my porblem..Is there any interlink between customized layouts in f110 transaction.how can i solve this problem.
    This is very urgent for me.
    waiting for ur favourable replies.
    Regards
    Maruthi.

    The SelectOneChoice section is:
    <af:selectOneChoice value="#{bindings.ProcessId1.inputValue}"
    label="#{bindings.ProcessId1.label}"
    autoSubmit="true" id="ProcList"
    showRequired="true">
    <f:selectItems value="#{bindings.ProcessId1.items}"/>
    </af:selectOneChoice>
    and the binding list:
    <list StaticList="false" ListOperMode="0" IterBinding="NameViewIterator"
    ListIter="ProcessListIterator" id="ProcessId1" NullValueFlag="1"
    NullValueId="ProcessId1_null">
    <AttrNames>
    <Item Value="ProcessId"/>
    </AttrNames>
    <ListAttrNames>
    <Item Value="ProcessId"/>
    </ListAttrNames>
    <ListDisplayAttrNames>
    <Item Value="ProcessName"/>
    </ListDisplayAttrNames>
    </list>
    Do I need to change the format of SelectOneChoice to add "for each"?
    Message was edited by:
    [email protected]

  • How display attachment links in a list view in SharePoint 2013?

    Hi all,
    I'm looking for a way to display attachment links in a list in SharePoint 2013. There are few resources online to achieve this in SP2010 and SP07. Your help is much appreciated.
    Thank you.

    Hi Ram Sampath:
    You can use Event Receiver and create another list(ListA) to record your attachment link.
    Maybe your process is:
    Users add list items and attachments
    List event will be fired
    Use Event Receiver to get attachment url and then Write into ListA
    You also can refer to the following web site:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/b693eb84-b846-4f0f-93c1-276cf931c746/how-to-get-attachment-in-itemadded-event-receiver
    http://stackoverflow.com/questions/19077770/how-to-retrieve-list-item-attachments-with-sharepoint-2013-event-receiver-in-cor

  • Get filtered lookup field in sharepoint 2013

    Hi, 
    I have LIST1 
     Title            User
    Title1           Spservices
    Title2            Spservices
    Title3           Spuser
    here User column is people/group
     LIST 2
    how can i get Titles from LIST1 where User= Spservices ([Me]) for TitleLIST1 column in LIST2
    Example:
    Title TitleLIST1
    1        Title1 
              Title2
    Here TitleLIST1 is dropdown (Lookup)
    Thanks in advance

    You could consider using a calculated column on the source list that has your filtering built into it. Then look up into this on your target list.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • BEx Analyzer - Workbook - How to give a title.

    How to give a title for a field which shows both Key and text in the Workbook. Generally we have the title for the key column but how to give a title name for the text column in the workbook.Please Advise.

    Hi ,
    I suppose you cannot save the macros (written by you) in BexAnalyzer.xla as that is the standard interface provided. When you write some macros related with workbook and want it to be executed each time you refersh. You can do that by providing the macros name in execute macro on each refresh under  Workbook properties tab in Bex design toolbar. or you can write that macros code under default workbook in VB editor under your VBA project related to your workbook.
    hope it helps
    with regards
    Rohit Gupta

  • Jquery for sharepoint document library form to filter dropdown/lookup field

    I have created a document library to update status of a ongoing process. I have created a lookup column "status" with options 
    Initiated,
    Reivew-in Progress,
    Review-Denied,
    Review-Approved,
    Verification-In progress,
    Verification-Denied,
    Verification-Approved.
    The demand from the client is they want to see - 'Initiated'in the form while adding a new document,other options should be hidden/disabled.
    The next time when they edit the form,they want to see just :
    Reivew-in Progress,
    Review-Denied,
    Review-Approved.
    Other options should be hidden/disabled.
    On the next step they want to see 
    Verification-In progress,
    Verification-Denied,
    Verification-Approved.
    other options should be hidden/disabled.
    I have worked with cascade drop down but i have no idea how to filter a single dropdwn/lookup field.Is there any way to implement this? Any help would be appreciated.
    Thank you.

    Hi Slionel,
    Based on you description, my understanding is that you want to show certain fields on NewForm.aspx and hide/ disable other fields and in EditForm.aspx you need to show or hide/disable certain fields based on condition. I would say you can use JSOM to implement
    your requirement in NewForm.aspx and EditForm.aspx
    based on the condition and requirement, it will be simple and straight forward.
    Thanks
    Shakir

  • How to modify a lookup field-type to use checkbox instead of radiobutton?

    How to modify a lookup field-type to use checkbox instead of radiobutton?
    I would like to modify the behavior for the lookup field.
    Normally you get a screen where it is possible to search through a lookup. The items resulted from the search are listed as radiobutton items. Therefore you can select only one at the time to be added.
    Is it possible to have the items to be listed as checkbox instead? So that you can check multiple items and therefore be able to add multiple items at the time?
    For example:
    To add the user to 10 different groups on MS-AD.
    It is desired to have the ability to check multiple groups to be added instead only one at the time.
    My client would like to use this feature in many other situations.

    Displaying will not be a big deal but with that you have to customize the action class and its working as well.

Maybe you are looking for