API Reference > imodeljs-common > Codes > CodeSpec > scopeReq scopeReq Accessor Will be CodeScopeSpec.ScopeRequirement.FederationGuid if the scoping element is required to have a FederationGuid or CodeScopeSpec.ScopeRequirement.ElementId otherwise (which is the default). get: CodeScopeSpec.ScopeRequirement Returns - CodeScopeSpec.ScopeRequirement Setter Will be CodeScopeSpec.ScopeRequirement.FederationGuid if the scoping element is required to have a FederationGuid or CodeScopeSpec.ScopeRequirement.ElementId otherwise (which is the default). set(req: CodeScopeSpec.ScopeRequirement): void Parameter Type Description req CodeScopeSpec.ScopeRequirement Returns - void Defined in core/common/src/Code.ts Line 197 Last Updated: 13 June, 2024