Documentation > CMS Template API Library > Asset > RecompileLibrary(Int32)
RecompileLibrary
Pass the id of a library folder and it will compile.
public System.Boolean RecompileLibrary(Int32)
Returns
true if successful, false if not. Check outbound context.Error for specific error message
Parameters
| Name | Description | Type | 
|---|---|---|
| libraryId | The id of the library folder | System.Int32 | 
Code Example
C#
Sample:
	if(!Asset.RecompileLibrary(66401))
	{
		Out.WriteLine("Error: " + context.Error);
	}
