Component in a component?

Participant ,
Nov 24, 2021 Nov 24, 2021

Copy link to clipboard

Copied

Hi There,

 

I have a simple breadcrumb component that I put together.  Example:  (Component 1)

 

Home page >  Task List

 

When I dive deeper in the site it looks like this:

 

Home page > Task List > Details

 

I would like to create second component (component 2) that "inherits" from Component 1.

 

I could then easily override the "Details" link in Component 2 with various pages that appear in details.  Example:

 

Home page > Task List > Notes

Home page > Task List > Documents

Home page > Task List > Communication

 

I have tried, and it appears to work, however in new Component 2 which effectively "inherits" from Component 1, the Home Page & Task List links break.

 

Is what I am doing possible?

 

Thank you.

 

 

XD allows me to do this, but it seems to break the links.

Views

198

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , Dec 06, 2021 Dec 06, 2021
Hi, if I'm not missing something, I tried to simulate the situation here and links look like working in the way I did in my example. You can see the video: https://www.dropbox.com/s/8v4beyd7ywo4xos/component-in-a-component-test.mp4?dl=0 And the sample file: https://www.dropbox.com/s/hecz9dsh52d63iv/component-in-a-component-test.xd?dl=0 Hope this helps.

Likes

Translate

Translate
Adobe Community Professional ,
Dec 06, 2021 Dec 06, 2021

Copy link to clipboard

Copied

Hi, if I'm not missing something, I tried to simulate the situation here and links look like working in the way I did in my example. You can see the video: https://www.dropbox.com/s/8v4beyd7ywo4xos/component-in-a-component-test.mp4?dl=0

And the sample file: https://www.dropbox.com/s/hecz9dsh52d63iv/component-in-a-component-test.xd?dl=0


Hope this helps.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 07, 2021 Dec 07, 2021

Copy link to clipboard

Copied

Hi AkinGn,

 

Thank you for your response.  I was unable to open either of your links (500 error), but it did prompt me to try this again with a fresh cup of coffee and it worked exactly as you said.

 

Thank you!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Dec 07, 2021 Dec 07, 2021

Copy link to clipboard

Copied

LATEST

Hi @Doug21784293dvss , you're welcome, glad you resolved the issue!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines