win8_settingscharm_add_html_entry(id, name, htmlpath);
|id||The id (a string) of the new options. This must be the same as the "data-win-options" from the HTML file!|
|name||The name of the option to add to the charm.|
|htmlpath||Full path to the HTML file to use|
This function is similar to the win8_settingscharm_add_entry
only this time you can define your own slide-out menu and options
from an external HTML file.
The "id" argument is given as a string and must be exactly the same as the data-win-options specified in the HTML file you are using (there is an example HTML file here). You can then give your new options a name and finally you need to add in the path to get to the HTML file. You can find an example of how the HTML should be formatted from the YoYo Games Knowledge Base article HTML and XAML Examples For The Windows 8 Settings Charm.
win8_settingscharm_add_html_entry("defaults", "News", "News.html");
The above code will create a new option within the settings "charm" called "News" which when presses, will open the exported HTML file.