Given this modelling part, relevant for the linking.
Component linking should be implement for linking to:
1. Inside website
Linking to e.g. article, article-top-tasks.
Created field with XML name "internalLink" for schema and model.
It works without Link (schema/model). Why? I was suprised ;-)
2.Outsite website
Created schema "ExterneLink" (for reuse), it contains 1 field for Url.
To get this to work, schema and model defined, can us it value in class/view.
Advantage: Works. It's also normal for embedded of component linking.
Disadvantage: Extra field.
Example for 1: Inside website 'Tegel' (Tile)
Example for 2 extended for Outside website
Questions:
Q1- Can you custom (extend/change) Link schema e.g. icon or drop altText?
Core example application use "Link" schema.
Sdl.Web.Common.Model.Link has model in Dxa Framework.
I made a Link model myself, when tested the Url is NOT resolved. Why?
Q2- Created schema/model "List item" instead of "Link".
Advantage and disadvantage?
Q3- Multimedia schema "Document" for upload/link "Pdf files".
Will it work with xml name "internalLink" (like inside website above)?