Codeunit 3061 "Uri Builder"
System Application · System.Utilities
Across versions
- BC23present
- BC241 procedures added
- BC25unchanged
- BC268 procedures added
- BC27-30unchanged
Neighbourhood 17 connected objects and pages
System Application · System.Utilities · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
Procedures
Init(Uri: Text): Initializes a new instance of the UriBuilder class with the specified URI.SetScheme(Scheme: Text): Sets the scheme name of the URI.GetScheme(): Text: Gets the scheme name of the URI.SetHost(Host: Text): Sets the host name of the URI.GetHost(): Text: Gets the host name of the URI.SetPort(Port: Integer): Sets the port number of the URI.GetPort(): Integer: Gets the port number of the URI.SetPath(Path: Text): Sets the path to the resource referenced by the URI.GetPath(): Text: Gets the path to the resource referenced by the URI.SetQuery(Query: Text): Sets any query information included in the URI.GetQuery(): Text: Gets the query information included in the URI.SetFragment(Fragment: Text): Sets the fragment portion of the URI.GetFragment(): Text: Gets the fragment portion of the URI.GetUri(var Uri: Codeunit Uri): Gets the Uri instance constructed by the specified “Uri Builder” instance.AddQueryFlag(Flag: Text; DuplicateAction: Enum "Uri Query Duplicate Behaviour"): Adds a flag to the query string of this UriBuilder. In case the same query flag exists already, the action in is taken.AddQueryFlag(Flag: Text): Adds a flag to the query string of this UriBuilder. In case the same query flag exists already, only one occurrence is kept.AddQueryParameter(ParameterKey: Text; ParameterValue: Text; DuplicateAction: Enum "Uri Query Duplicate Behaviour"): Adds a parameter key-value pair to the query string of this UriBuilder (in the form ParameterKey=ParameterValue ). In case the same query key exists already, the action in is taken.AddQueryParameter(ParameterKey: Text; ParameterValue: Text): Adds a parameter key-value pair to the query string of this UriBuilder (in the form ParameterKey=ParameterValue ). In case the same query key exists already, its value is overwritten.AddODataQueryParameter(ParameterKey: Text; ParameterValue: Text)+ BC24: Adds an OData parameter key-value pair to the query string of this UriBuilder (in the form ParameterKey=ParameterValue ), preserving the “$” sign in unencoded form. In case the same query key exists already, its value is overwritten.RemoveQueryFlag(Flag: Text; DuplicateAction: Enum "Uri Query Duplicate Behaviour")+ BC26 + BC26: Removes a flag from the query string of this UriBuilder. In case the same query flag exists already, the action in is taken.RemoveQueryFlag(Flag: Text)+ BC26 + BC26: Removes a flag from the query string of this UriBuilder. In case the same query flag exists already, only one occurrence is kept.RemoveQueryParameter(ParameterKey: Text; ParameterValue: Text; DuplicateAction: Enum "Uri Query Duplicate Behaviour")+ BC26 + BC26: Removes a parameter key-value pair from the query string of this UriBuilder (in the form ParameterKey=ParameterValue ). In case the same query key exists already, the action in is taken.RemoveQueryParameter(ParameterKey: Text; ParameterValue: Text)+ BC26 + BC26: Removes a parameter key-value pair from the query string of this UriBuilder (in the form ParameterKey=ParameterValue ). In case the same query key exists already, its value is overwritten.RemoveQueryParameters()+ BC26: Removes a parameter key-value pair from the query string of this UriBuilder (in the form ParameterKey=ParameterValue ). In case the same query key exists already, the action in is taken.GetQueryFlags(): List of [Text]+ BC26: Gets the flags in the query string of this UriBuilder.GetQueryParameters(): Dictionary of [Text, List of [Text]]+ BC26: Gets the parameters in the query string of this UriBuilder.GetQueryParameter(ParameterKey: Text): List of [Text]+ BC26: Gets the value of the specified query parameter.
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 3062 “Uri Builder Impl.” (23 calls:
AddODataQueryParameter → AddODataQueryParameter,AddQueryFlag → AddQueryFlag,AddQueryParameter → AddQueryParameter, …)
Called by
- Codeunit 8333 “VS Code Integration Impl.” (13 calls:
GetAbsoluteUri → GetUri,NavigateToObjectDefinitionInVSCode → AddQueryParameter,NavigateToObjectDefinitionInVSCode → GetQuery, …) - Codeunit 2023 “Image Analysis Wrapper V3.2” (6 calls:
BuildUri → AddQueryParameter,BuildUri → GetUri,BuildUri → Init, …) - Codeunit 2515 “AppSource Product Manager” (4 calls:
ConstructProductListUri → AddODataQueryParameter,ConstructProductListUri → AddQueryParameter,ConstructProductListUri → GetUri, …) - Codeunit 4359 “Custom Agent Profile Mgt” (4 calls:
GetProfileConfigurationUrlForWeb → AddQueryFlag,GetProfileConfigurationUrlForWeb → AddQueryParameter,GetProfileConfigurationUrlForWeb → GetUri, …) - Codeunit 8955 “AFS Format Helper” (4 calls:
AppendToUri → AddQueryFlag,AppendToUri → AddQueryParameter,AppendToUri → GetUri, …) - Codeunit 9061 “Stor. Serv. Auth. SAS” (4 calls:
Authorize → GetQuery,Authorize → GetUri,Authorize → Init, …) - Codeunit 9088 “Stor. Serv. Auth. Ready SAS” (4 calls:
Authorize → GetQuery,Authorize → GetUri,Authorize → Init, …) - Codeunit 9120 “SharePoint Graph Client Impl.” (4 calls:
ExtractHostName → GetHost,ExtractHostName → Init,ExtractRelativePath → GetPath, …) - Codeunit 9121 “SharePoint Graph Uri Builder” (4 calls:
AddOptionalParametersToEndpoint → AddODataQueryParameter,AddOptionalParametersToEndpoint → AddQueryParameter,AddOptionalParametersToEndpoint → GetUri, …) - Codeunit 9170 “Conf./Personalization Mgt.” (4 calls:
GetProfileConfigurationUrlForWeb → AddQueryFlag,GetProfileConfigurationUrlForWeb → AddQueryParameter,GetProfileConfigurationUrlForWeb → GetUri, …) - Codeunit 7801 “Azure Functions Code Auth” (3 calls:
Authenticate → AddQueryParameter,Authenticate → GetUri,Authenticate → Init) - Codeunit 7802 “Azure Functions OAuth2” (3 calls:
Authenticate → AddQueryParameter,Authenticate → GetUri,Authenticate → Init) - Codeunit 7803 “Azure Functions Impl” (3 calls:
Send → AddQueryParameter,Send → GetUri,Send → Init) - Codeunit 7807 “Azure Functions OAuth2 Cert” (3 calls:
Authenticate → AddQueryParameter,Authenticate → GetUri,Authenticate → Init) - Codeunit 9064 “Stor. Serv. Auth. Shared Key” (2 calls:
GetCanonicalizedResource → GetQuery,GetCanonicalizedResource → Init) - Codeunit 9510 “Document Service Management” (2 calls:
GetDefaultLocation → GetHost,GetDefaultLocation → Init)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Uri Builder"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.