Class GetExternalUrlMethod
Generates an external URL for an item on an Aras web server
It is a Server method to demonstrate some features
Inheritance
System.Object
GetExternalUrlMethod
Assembly: BitAddict.Aras.ExternalUrlWidget.dll
Syntax
public class GetExternalUrlMethod : ArasMethod
Properties
BaseUrl
Declaration
[UsedImplicitly]
[XmlProperty("baseurl", false)]
public string BaseUrl { get; set; }
Property Value
Type |
Description |
System.String |
|
Id
Declaration
[XmlProperty("id", false)]
[UsedImplicitly]
public string Id { get; set; }
Property Value
Type |
Description |
System.String |
|
Type
Declaration
[XmlProperty("type", false)]
[UsedImplicitly]
public string Type { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
DoApply(Item)
Returns direct URL to file if it is a File item, otherwise
builds url from items
Declaration
public override Item DoApply(Item root)
Parameters
Type |
Name |
Description |
Aras.IOM.Item |
root |
Item the Aras method was called with
|
Returns
Type |
Description |
Aras.IOM.Item |
Method result item
|
Overrides