Suppressing the Dialog Boxes That First Run Assistant Displays
This topic describes how to suppress the dialog boxes that First Run Assistant displays.
To suppress the dialog boxes that First Run Assistant displays
Use a JavaScript editor to open the application_script.js file.
Modify the following code:
var fra = application.fra;
function fra_handler(fra)
{
var current_form = null;
var on_closed = function()
{
current_form = null;
fra.exit_current_step(false);
}
function on_fra_step(id)
{
if (id == "advanced")
{
var xml = ui.get_dialog_xml("PropSheetHost");
xml = helpers.replace_all
("$prop_sheet_layout", "options_advanced_page", xml);
current_form = ui.create_dialog_from_xml(0, xml);
current_form.on_closed.connect(on_closed)
current_form.visible = true;
}
}
fra.on_step.connect(on_fra_step);
fra.add_builtin_step("welcome");
fra.add_builtin_step("sync_filters");
fra.add_builtin_step("sync_schedule");
fra.add_step("advanced", session.res_string("sa-advanced_settings-caption"),
session.res_string("sa-advanced_settings-description"), "sa-advanced_settings-
picture", true);
fra.add_builtin_step("convert_items");
fra.add_builtin_step("first_sync");
}
function create_fra_handler(fra)
{
return fra != null ? new fra_handler(fra) : null;
}
var g_fra_handler = create_fra_handler(application.fra);
where:
bold indicates code you can modify.
The following table describes the code that you can modify to suppress the dialog boxes that First Run Assistant displays.
Default Code | Description |
---|---|
|
This code displays the Welcome dialog box. It is recommended that you do not remove it. |
|
This code displays the default synchronization filters. You can remove this code to hide these filters. |
|
This code displays the default synchronization schedule. You can remove this code to hide this schedule. |
|
This code displays the default advanced settings. You can remove this code to hide the advanced settings. |
|
This code displays the native contacts conversion. You can remove this code to hide the native contacts conversion. |
|
This code displays the first synchronization step, It is required. Almost no Siebel CRM Desktop functionality is available before the first synchronization. You must not remove this code. |