Customizing List Selection Indication

Hello Everyone,
   I would like to customize the way the List shows a selected item.  The default implementation is to highlight the background.  I would like to change that to a glow filter around the border.  The default implementation for the "ItemRenderer" class has a draw background method, but that is marked internal and private.  There is a skin state "selected", but when I go to create a custom skin. ItemRenderer does not pop up in the autocomplete class search leading me to believe I may be going down the wrong path.  Any help is greatly appreciated, I am using SDK4.0 if that is any help.

All of the visuals of a selected item are handled in the item renderer.  Are you able to create a custom ItemRenderer that does what you are looking for?
<s:ItemRenderer glowFilter="{myGlow}"...>
    <s:Label text="{data}" />
</s:ItemRenderer>

Similar Messages

  • How to display all items titles from custom list with checkbox to select for each user

    Hi All,
    I have a requirement in a sharepoint 2013 development project.
    A custom list items will be created by admin with the following columns:
    Title
    Hyperlink
    User business unit (This column which is a metadata will be a userprofile property)
    In a page/form I have to display the list of titles with a check box based on each user business unit and each user will be allowed to check the list of titles and hit save. And then have to display the list chosen by the user in a webpart.
    If they want to modify their list they have to go to the page/form again and will uncheck the list.
    Am not sure whether I can achieve this through sharepoint out of box feature, I have not done any custom development.
    Please provide your valuable suggestions/ideas on this. Thanks for looking on this !!!

    Hi,                                                             
    Per my knowledge, there are no such OOTB features can meet your requirement, however, there is a workaround that if you can modify your requirement a bit.
    Based on your description, you want different users be able to select values from a list and generate a list own by them.
    If this is what you mean, we can do it like this:
    1. Create another list "Users" which stores the names of every users;
    2. Create a list "Result" which will be available for every user to add their own items, this list will have four Lookup columns and they look up to the "Users" list and the
    list you mentioned before;
    3. Users can add items into "Result" list by selecting the needed values from the other two list, then the items he/she created will be connected to them with the help of the
    Lookup column which looks up to the "Users" list.
    4. You can take use of the OOTB permission management of list to control the access of each item in the "Result" list, and it will be easier for you to manage and filter the
    information you needed.
    The links below about Lookup column for your reference:
    http://office.microsoft.com/en-us/sharepoint-server-help/create-list-relationships-by-using-unique-and-lookup-columns-HA101729901.aspx
    http://www.dummies.com/how-to/content/lookup-columns-in-sharepoint-2010.html
    Best regards
    Patrick Liang
    TechNet Community Support

  • Infopath 2013 - Values are not appearing in a drop down field referencing site column which uses lookup in custom list

    I have a master custom list that has a set of site columns. For each site column there is a lookup to a custom list with reference data. When I edit the list in data entry view all values in drop down fields work fine, but when I customize the form for
    the master list, no data appears in the drop down fields. I can change the data binding on the form so it references the the correct data and when I preview the form it works. But when I publish it, no data is available in these drop down fields.

    Hi  shakonarson,
    According to your description, I try to reproduce your scenario but the lookup field works fine.
    When we customize the form for the  list  in the InfoPath 2013 , it is by design that the Drop-Down List Box control cannot  display its value.
    For troubleshooting your issue, please take steps as below:
    Go to lookup List Box on your form in  InfoPath 2013 , right click it and choose “Drop-Down List Properties” from the bottom of your field menu.
    Make Sure you select “Get choices from an external data source” and correct Data source.
    Make Sure the Xpath  of Entries is “d:SharePointListItem_RW” under the dataFields.
    Here is a good blog for sorting lookup column DropDown by customizing your list form with InfoPath you can have a  look:
    Sort SharePoint lookup column Dropdown by customizing your list form
    with InfoPath
    Hope this helps!
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Query Report - To display additional column in list selection box.

    Hi,
    There is query report where i want to display the additional column in list selection.
    Below is the system query report, where parameter passed is card code.
    When the cardcode - list selection is clicked system displays 2 columns i.e. Customer Code & No. of Records.
    Now in the same list selection; is it possible to display the customer name along with cardcode only for reference.
    SELECT T0.DocDate, T1.SlpName, T2.Name, T0.DocDueDate, T0.DocNum,    (CASE WHEN T0.DocStatus = 'O' THEN 'Open' ELSE 'Closed' END) AS Status,    T0.DocTotal FROM OQUT T0 LEFT JOIN OSLP T1    ON T0.SlpCode = T1.SlpCode LEFT JOIN OCPR T2 ON T0.CntctCode = T2.CntctCode WHERE T0.CardCode = N'[%0]'    ORDER BY T0.DocNum DESC
    Kindly let me know the details.
    Thanks & Regards,
    Yogesh Jadav

    Hi Yogesh Jadav,
    The answer is NO.  You may only display either code or name but not both.
    Thanks,
    Gordon

  • Created By and Created Date fields not showing up on Custom List form webpart

    Hi,
    I have added Custom Listform WebPart on "DispForm.aspx" of custom list. I need to display, out of box fields "Author" [Created By] and "Created" [Creation Date] on this custom list form webpart, I have added them on the webpart, following is the code behind of aspx page:
    <td width ="400px" valign= "top" class="ms-formbody">
    <xsl: value-of select = "@Author" disable-output-escaping = "yes"/>
    </td>
    However these fields are not showing/populating data on the form ?? Any inputs ???
    Regards

    Hi,
    I think that when you insert a custom list form web part you select “Item” content type, so custom list form is designed to display only the fields that are appropriate for that content type “Item”, but the item content type doesn’t contain the created and created by column, when you add the two columns, it will not find the field value. By default, the two columns will display at the foot of the list form using SharePoint:CreatedModifiedInfo.
    Hope it can help you.
    Xue-Mei Chang

  • Get the Version history of a sharepoint 2013 Custom List item

    Hi All,
    I am having doubt to retrieve the field version information with the comments.
    For this field i am done like this
    1.Creating a custom list
    2.And enable versioning for the list
    3.And add a field with field type 'Multiple Lines of Text' and in the Addition Column Settings section 'select yes radio button option in 'Append changes to the Existing text'.
    4.If we done like this the changes to the list item are available outside of field control.
    Can any one help me regarding this field to get the all the versions of list item along with modified data.

    hi Asatish,
    Thanks for posting your issue, Kindly browse the below mentioned URLs to know about the fixes of this issue
    http://berg-henry.blogspot.in/2010/11/custom-list-form-with-version-history.html
    http://somnathmatere.blogspot.in/2013/10/sharepoint-2010-custom-display-form.html
    http://blog.qumsieh.ca/2009/01/29/understanding-the-append-changes-to-existing-text-option/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Ribbon Custom tab won't appear on custom list

    Hi all! If anyone could be so kind and help me with the following.
    I have created a custom list in Visual Studio 2012 and i am trying to add a custom tab to that list.
    Below is the content of the elements file for the custom tab and respective controls:
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
    Id="MyCustomRibbonTab"
    Location="CommandUI.Ribbon"
    RegistrationId="10000"
    RegistrationType="List">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition
    Location="Ribbon.Tabs._children">
    <Tab
    Id="Ribbon.AnnualLeaveTab"
    Title="Annual Leave"
    Description="Annual LEave requests!"
    Sequence="301">
    <Scaling
    Id="Ribbon.AnnualLeaveTab.Scaling">
    <MaxSize
    Id="Ribbon.AnnualLeaveTab.MaxSize"
    GroupId="Ribbon.AnnualLeaveTab.CustomGroupExample"
    Size="OneLargeTwoMedium"/>
    <Scale
    Id="Ribbon.AnnualLeaveTab.Scaling.CustomTabScaling"
    GroupId="Ribbon.AnnualLeaveTab.CustomGroupExample"
    Size="OneLargeTwoMedium" />
    </Scaling>
    <Groups Id="Ribbon.AnnualLeaveTab.Groups">
    <Group
    Id="Ribbon.AnnualLeaveTab.CustomGroupExample"
    Description="This is the Annual Leave request custom group!"
    Title="Annual Leave Request"
    Sequence="52"
    Template="Ribbon.Templates.CustomTemplateExample">
    <Controls Id="Ribbon.AnnualLeaveTab.CustomGroupExample.Controls">
    <Button
    Id="Ribbon.AnnualLeaveTab.CustomGroupExample.New"
    Command="AnnualLeaveTab.New"
    Sequence="15"
    Image16by16="/_layouts/15/1033/images/formatmap16x16.png"
    Image32by32="/_layouts/15/1033/images/formatmap32x32.png"
    Image32by32Class="CSS Class Selector"
    Image32by32Top="-205"
    Image32by32Left="-341"
    Description="Create new Annual Leave Request"
    LabelText="Create New"
    TemplateAlias="cust1"/>
    <Button
    Id="Ribbon.AnnualLeaveTab.CustomGroupExample.Approve"
    Command="AnnualLeaveTab.Approve"
    Sequence="17"
    Image16by16="/_layouts/15/1033/images/formatmap16x16.png"
    Image32by32="/_layouts/15/1033/images/formatmap32x32.png"
    Image16by16Class="CSS Class Selector"
    Image16by16Top="-198"
    Image16by16Left="-290"
    Description="Approve selected request"
    LabelText="Approve"
    TemplateAlias="cust2"/>
    <Button
    Id="Ribbon.AnnualLeaveTab.CustomGroupExample.Reject"
    Command="AnnualLeaveTab.Reject"
    Sequence="19"
    Image16by16="/_layouts/15/1033/images/formatmap16x16.png"
    Image32by32="/_layouts/15/1033/images/formatmap32x32.png"
    Image16by16Class="CSS Class Selector"
    Image16by16Top="-181"
    Image16by16Left="-290"
    Description="Reject selected Request"
    LabelText="Reject"
    TemplateAlias="cust3"/>
    </Controls>
    </Group>
    </Groups>
    </Tab>
    </CommandUIDefinition>
    <CommandUIDefinition Location="Ribbon.Templates._children">
    <GroupTemplate Id="Ribbon.Templates.CustomTemplateExample">
    <Layout
    Title="OneLargeTwoMedium"
    LayoutTitle="OneLargeTwoMedium">
    <Section Alignment="Top" Type="OneRow">
    <Row>
    <ControlRef DisplayMode="Large" TemplateAlias="cust1" />
    </Row>
    </Section>
    <Section Alignment="Top" Type="TwoRow">
    <Row>
    <ControlRef DisplayMode="Medium" TemplateAlias="cust2" />
    </Row>
    <Row>
    <ControlRef DisplayMode="Medium" TemplateAlias="cust3" />
    </Row>
    </Section>
    </Layout>
    </GroupTemplate>
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler
    Command="AnnualLeaveTab.New"
    CommandAction="javascript:SP.UI.ModalDialog.ShowPopupDialog('/SitePages/Leave%20Request.aspx?isDlg=1','_blank');" />
    <CommandUIHandler
    Command="AnnualLeaveTab.Approve"
    CommandAction="javascript:alert('Approved');" />
    <CommandUIHandler
    Command="AnnualLeaveTab.Reject"
    CommandAction="javascript:alert('Rejected');" />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>
    The contents of the element file for the list is as below:
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <!-- Do not change the value of the Name attribute below. If it does not match the folder name of the List project item, an error will occur when the project is run. -->
    <ListTemplate
    Name="IFX_Leave"
    Type="10000"
    BaseType="0"
    OnQuickLaunch="TRUE"
    SecurityBits="11"
    Sequence="410"
    DisplayName="IFX_Leave"
    Description="My List Definition"
    Image="/_layouts/15/images/itgen.png"/>
    </Elements>
    As seen, the RegistrationID and list Type ID are the same so in theory this should work. Also, for other lists deployed through the same solution with the same Type ID, the ribbon tab and controls render perfectly fine.
    Any ideas what may be the issue here?
    Appreciate your input!

    Hi,
    According to your post, my understanding is that you had an issue about the custom tab for list.
    As you had said, the other tabs for other lists in the same solution worked well, the code would have no issues.
    I recommend you create a new clean project with only one list and the tab to check whether it works.
    What’s more, you can also change the list template type ID(such as 100), then check whether it works.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Adding hyperlink in Infopath custom list which opens pdf document available in document library

    Hi,
    I have a custom list(modified in InfoPath 2010) and a document library having 2 pdf documents.
    In the Custom list, i have used the attachment option for another field.
    How to create a link in the InfoPath list, which when clicked opens the corresponding pdf from the document library?
    How to achieve this?
    Thank you

    Hi Venkatzeus,
    From your description, you have a list and attachments for the list are uploaded to a document library. To display the hyperlink in InfoPath form, you can directly use 2 Hyperlink controls. And give the document' URL in this control using formula.
    I’m not sure how you upload the list item attachments to another document library. But make sure you have made a connection between the list item and attachments in document library. Here is an example.
    ListTitle         ID
    Item1     1
    Item2     2
    Pass the ID to the document library when we create the attachment.
    Document Name             ItemID
    attachment1 for item1    1
    attachment2 for item1    1
    attachment3 for item2    2
    attachment4 for item1    1
    attachment5 for item2    2
    So here, we can see attachment1, attachment2, attachment4 are item1’s attachments and attachment3, attachment5 are item2’s attachments, because of ItemID.
    1. Create a new column for document library, named it DocumentURL.
    2. Create a workflow and set to start when new item is created automatically with following action.
    Set DocumentURL = http://server/topsite[%Current Item:URL Path%].
    3. Custom list form.
        1) Add a data connection to receiver data from document library.
        2) Insert document library connection as repeating section.
        3) Add a hyperlink control within the repeating section (Insert > Hyperlink).
        4) Select DocumentURL as the data source for Link To and Display options.
    4. Add a formatting rule to the repeating section control.
    If ItemID in document data connection is not equal to ID in Main data connection, then hide this control.
    5. Done.
    Let me know if you have any question.
    Thanks & Regards,
    Emir
    Emir Liu
    TechNet Community Support

  • OOTB Approval Workflow on Custom List does not Update Approval Status

    I have a custom list on which I've required content approval.  I then created a workflow instance from the "Approval - SharePoint 2010" template.  For this workflow I have selected "Update the approval status after the workflow
    is completed (use this workflow to control content approval".  When I approve the list item via the workflow task item the status of the item is not updated but stays at pending even though the
    workflow shows "Completed" with the Outcome of "approved".  Is this the expected behavior, i.e. does "Update the approval status after the workflow is completed (use this workflow to control content approval"
    not work for custom lists?  Does it work on any of the lists?

    Hi Kalos1840,
    If you check "Require Content Approval" setting, only the way above can update the approval status due to the approval status is for this approval workflow. As this approval workflow cannot achieve your demand, I recommend you un-check "Require Content Approval"
    setting and create a custom workflow such as the OOTB Approval Workflow or SharePoint Designer workflow.
    Here is the steps of a SharePoint Designer workflow:
    1.Go to your custom list , click Create a Workflow in SharePoint Designer.
    2.Add a “Start a task process” action in your workflow.
    3.Click “these users” and Start a Task Process edit page will pop up.
    4.In the Participants field, input your  approvers based on the order of approval.
    5.In the right of Participants field, select “Serial (one at a time)”.
    Best  Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Tile List selection after pressing embedded Image button

    Hi;
    I am working on SAP Work Manager 6.0 customizing using Agentry 6.1.3. I have this tile list that contains items. At the bottom of this tile list, I have a button that targets the selected item on the tile list. This button has an action which changes the icon  of the selected item when pressed and also executes an edit transaction that prints/changes the selected item property values based on rules. After selecting a particular item from the tile list and clicking on this button, the selected item's image changes to the image that I want, but the selection highlighter toggles and always moves to the first item on the tile list. I have tried implementing a list selection but it somehow always ignores this and always toggles back to the first item on the tile list. I would like it to stay on the selected item, whose image has just been changed. How would I go about having the selection highlighter stay on the same item before and after pressing the button?
    Your help is greatly appreciated!
    Thanks in advance!
    Sizo Ndlovu

    Hi Jason;
    Thank you for the prompt response.I'm using the .NET client to test on the development machine and the application is deployed onto an Android 4.0.4 device. I have tried implementing this as shown below:
    The action steps:
    The Navigation step:
    The List Selection step:
    The List Selection rule:
    I have also tried implementing this using the navigation only or the list selection only, with no success.
    Thanks and Regards;
    Sizo Ndlovu

  • Customer List

    Hi All,
              Is there any report to see the customer list based on account group. The report VCUST gives the entire list of customers. I want to see the list of customers based on accounts group.
    Regards
    Sankar.

    Hi
    Use the Tcode   S_ALR_87012179 ....click on the icon Dynamic Selections (on the application tool bar) and from the list click on Account group. This will give you the option to enter the account group in the selection criteria. Execute to get the list.
    Thanks,
    Ravi

  • Territorywise Customer List and Balance

    Hi All,
    How I can check Territorywise customer list and customer balance??
    Regards

    Hi,
    You can see Customer wise - Sales employee wise Balance but not Territorywise report.
    Check Sales Analysis report in Sales Reports.
    Try this query ....
    SELECT T0.[CardCode], T0.[CardName],T1.[descript],T0.[Balance],T0.[OrdersBal],T0.[DNotesBal],T2.[slpName]  
    FROM OCRD T0  INNER JOIN OTER T1 ON T0.Territory = T1.territryID
    INNER JOIN OSLP T2 ON T0.slpcode = T2.slpcode
    Thanks
    Sachin

  • Help sought customizing a SP 2010 custom list template

    I am forced to use InfoPath 2010 to edit and then publish the form for a custom list, due to problems that SP 2010 has displaying a set of lookup columns on the form.
    Now that I have made the initial change, there are some other customizations that the users would like.
    I have a source list for a look up column.
    The source list has:
    Department number - ie 27
    Department name - ie Standards
    Department division - ie Technical
    as individual columns.
    The current column is defined to use Department name. The users have asked if the dropdown could instead display the data as:
    D27 - Standards - Technical
    When I tried to create a calculated column that concatenated all of those on the source list, I found myself unable to submit new items for the list - SharePoint kept reporting that I needed a positive integer as a selection value for the dropdown.
    Ideally what I want is the department number as the value for the dropdown, but the concatenated parts to be used as the display value of the lookup.
    I have not been able to figure out how to do that.
    Is there something simple that I am missing? When I look at the property of the dropdown, there isn't a way to add a formula to the display name of the data source/entries portion of the properties.

    So after some work, I changed the number column to a text column in the list.
    The control for selecting information on that control is not working properly now.
    It is a drop down listbox control.
    Its properties are:
    cannot be blank
    get choices from an external data source
    data source is my sharepoint list that contains department number (text field now), department name, division name
    entries is set to myFields->dataFields->d:SharePointListItem_RW - that is how it came out of the box, so I am assuming that it is correct
    Value is set to d:SharePointListItem_RW->Department Number
    Display name is set to d:SharePointListITem_RW->Department Name
    When I attempt to use the form, the control is populated with the department names.
    However, the last entry of the list is selected. Normally there would be nothing selected.
    Even worse, if I select something else in the control, something causes the last entry in the list to be selected.
    I don't know why something is causing a different item to be selected. There are no rules set on this form as far as I am aware.

  • How to link Discussion Board with Custom list in sharepoint 2013

    I have a custom list, which  have collection of goals. and i have an discussion board for discussions about those goals from that custom
    list... so how can i link between those two. what my expectation is, if I select a "goal" from custom list, then the collection of discussions that related to goals will displays on other side...  and i have added a lookup column in discussion
    board that refer the goal name in the custom list so i am relating goal name between these two. 

    Hi VinoJash,
    According to your description, my understanding is that you want to click the ‘discuss’ column in the custom list to navigate to the associated discusstion. Is it right?
    You can do as the followings:
    Open your custom list
    Create a new column, the type is Hyperlink or Picture, select Format URL as: Hyperlink
    Navigation to a discussion, copy the URL of the discussion
    Back to the custom list, and new an item
    Type the title, and paste the URL copied in step 3 under ‘Type the web address:’, type a name for the description of the url
    Click Save
    In my testing, the result is :
    If I click ‘first discussion’, it will open the ‘first’ discussion.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Custom list in Sharepoint 2013 for training booking purpose

    Kindly note that I am trying to  do custom list in Sharepoint 2013 for training booking purpose
    As below :
    The user should enter the user name  - it works fine
    The user should select the data from the choice list
    The requirement is , I need to limit in each  day of the training 20 seats (20 booking only) only
     Can you advise how to do so.
    [email protected]
    Basil

    check below post and video on how to build the event receivers
    http://www.sharepointpals.com/post/How-to-create-a-custom-list-level-event-receiver-in-SharePoint-2013-and-SharePoint-2010
    https://www.youtube.com/watch?v=wZf2xvEM5Io
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

Maybe you are looking for

  • How can I switch off the automatic window size and set the size of the window manually

    I need to open the web-page in a window of a certain size. The javascript function window.resizeTo (w, h) does not work. If I open the window using the window.open ("", "", "width: w, height: h, ..."), there is another problem. The hyperlinks that ha

  • Where can I get a free download of saplicense.exe?

    Where can I get a free download of saplicense.exe? saplicense is the SAP tool, that is mostly used for installing a new SAP license. This tool is command line based. In the easiest way, you just issue the following command: saplicense -install Then y

  • May be dump question for Region Source?

    Hello folks, I have one page with a HTML Region, I have written following code under Region Source:- <div style="width:800px" style="background: green"> SOME TEXT </div> Also my application has 2 level tabs and I'm using Theme 10(SAND). Now as the th

  • JTree background color. How to...?

    I have set the background color of Jtree to pink and have used setOpaque(true). Now when ever I click on a node the node's color is not changing to the default blue color. How to change it?

  • Invoking external AS from Main.asc?

    Hi all, I'm hoping anyone can point me in some intelligent direction. I have a main.asc in my FMS3.5 application. I'd like to be able to import things like AS3Crypto, com.adobe.serialization, etc, to be used in main.asc. However, there seems to be no