I have createdset a value in a General link
field in a Sitecore item using powershell extensionPowerShell. Here is the powershellPowerShell script.
$item.Editing.BeginEdit()
[Sitecore.Data.Fields.LinkField]$fieldValueLink = $Item.Fields[$templateField.DisplayName]
$fieldValueLink.Text = "Link"
$fieldValueLink.Title = "click on the link"
$fieldValueLink.LinkType = "external"
$fieldValueLink.Url = $itemRow.$fieldTrimmedValue
$item[$templateField.DisplayName] = $fieldValueLink.Value;
$item.Editing.EndEdit() | Out-Null
Now I want to create fieldsset values into other field types like droplinkDropLink
, multilistMultilist
and droplistDropList
. For creatingsetting these fieldsfield values I think I need to create Sitecore items using powershell,PowerShell and then I have to assign them to the droplink fields.fields' values, But I don't know where to start and how to proceed.
Can anyone help me out with this?