The PackageWriterURL method provides a utility method to build the correct url to create a package (and return to where you came from)

Namespace: DotNetNuke.Services.Installer
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static string PackageWriterURL(
	ModuleInstanceContext context,
	int packageId
)
Visual Basic
Public Shared Function PackageWriterURL ( 
	context As ModuleInstanceContext,
	packageId As Integer
) As String

Parameters

context
Type: DotNetNuke.UI.Modules..::..ModuleInstanceContext
The ModuleContext of the module
packageId
Type: System..::..Int32
The id of the package you are packaging

Return Value

The localized string

See Also