Announcement

As of April 17, 2018, this site is now in read-only mode. To start new Blackbaud Developer’s discussions, you will find Developer Discussions in the Blackbaud CRM Community.

To post or respond to Blackbaud Community discussions, you will have to login using a www.blackbaud.com login. Learn how to login here. If you have questions or need assistance, please email community@blackbaud.com.

1.7k questions

3.2k answers

401 users

Categories

1.7k questions

3.2k answers

401 users

Hi, can someone tell how to make fields in a data list as hyperlink linking to a target page?

asked by

1 Answer

 
Best answer

So you do this using both the datalist and an action.

So in your datalist you would have the output fields look something like this:

<!--this is the constituent id-->
<OutputField FieldID="ID" Caption="ID" DataType="Guid" IsHidden="true" />
<!--this is the constituent name-->
<OutputField FieldID="NAME" Caption="Name" DataType="String" />

Then in your alter pages where you add the datalist you would want to create an action that looks something like this:

<Action ID="8C419DDE-D6B7-4FE9-9AA6-2A776D13A71B" Caption="Go to constituent" DefaultAction="true" LinkFieldID="NAME" xmlns:c="bb_appfx_commontypes">
    <c:ShowPage PageID="88159265-2b7e-4c7b-82a2-119d01ecd40f" TabID="00000000-0000-0000-0000-000000000000" SectionID="00000000-0000-0000-0000-000000000000">
        <c:ActionContext>
            <c:SectionField>ID</c:SectionField>
        </c:ActionContext>
    </c:ShowPage>
</Action>

Let me know if you need some clarification or have anymore questions.

answered by chriswhisenhunt (3.9k points)
selected by chriswhisenhunt
Thanks Chris! This worked!!
...