---
schema_version: "1"
id: 1f80fcf3660b7b74edd28dec0511cd4063d4335507498eff024886e6a4c62606
title: GoalLink
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_goallink.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_goallink.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7731d9b9385c608a61d0e1d9f07570f64a541661ecc834375e8ee160f86ac03c
description: Represents the relationship between two goals. This is a many-to-many relationship, meaning that each goal can link to many other goals.
---
# GoalLink

Represents the relationship between two goals. This is a many-to-many relationship, meaning that each goal can link to many other goals.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

## Fields

| Field Name | Details |
| --- | --- |
| Name | 
Type

string

Properties

Autonumber, Defaulted on create, Filter, Sort

Description

The auto-generated name of the goal link.



 |
| ParentGoalId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The ID of the parent goal.



 |
| SubgoalId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The ID of the subgoal.



 |