This project is read-only.

Advanced Setup

There are several advanced options you can customize before activating Recruitment module features into the target web site. Usually you won't need to change anything. You should read Architecture Overview first to understand the concepts before you play with any advanced options.

Localizing or customizing UI resources

If you want to use other than English user interface in the Recruitment module, do the following steps:
  1. Install the right language pack for SharePoint Foundation 2010.
  2. Go to <Program_Files_Location>\Common Files\Microsoft Shared\Web Server Extensions\14\Resources
  3. Create a copy of BoldBrick.OneIntranet.HR.resx and BoldBrick.SharePoint.CommonControls.resx resource files with the right culture extension. For example, for the Czech language it will be:
    • BoldBrick.OneIntranet.HR.cs-cz.resx
    • BoldBrick.SharePoint.CommonControls.cs-cz.resx
  4. Customize the contents.

Please contribute any new localizations into this project so others will be able to use it as well.

Advanced options in Web.config

If you want to change more default settings, go to the web site's IIS folder and open web.config file. Add the following element inside configuration/configSections element:
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    <section name="BoldBrick.OneIntranet.HR.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
You can add appropriate application settings for Recruitment solution. Simply add the following element inside configuration:
<applicationSettings>
    <BoldBrick.OneIntranet.HR.Properties.Settings>
    </BoldBrick.OneIntranet.HR.Properties.Settings>
</applicationSettings>
You can add settings described in the rest of this page into BoldBrick.OneIntranet.HR.Properties.Settings.

Custom Caching Interval

“HR Workflow Statistics” web part uses custom caching before rendering content. The default time for cache is 5 minutes. To modify this interval, add the following setting into BoldBrick.OneIntranet.HR.Properties.Settings element:
<setting name="CustomCachingIntervalMinutes" serializeAs="String">
<value>5</value>
</setting>
To disable custom caching, set 0 (“zero”) as the value of this element.

Fields Settings

To modify internal names of some or all fields, add one or more of following settings into BoldBrick.OneIntranet.HR.Properties.Settings. Unless you are modifying the source code and have a good reason to customize internal names of fields, don't change anything.
<setting name="Field_JobRequirements_InternalName" serializeAs="String">
	<value>JobRequirements</value>
</setting>
<setting name="Field_EmploymentTypesLookup_InternalName" serializeAs="String">
	<value>EmploymentTypesLookup</value>
</setting>
<setting name="Field_SalaryRangeFrom_InternalName" serializeAs="String">
	<value>SalaryRangeFrom</value>
</setting>
<setting name="Field_SalaryRangeTo_InternalName" serializeAs="String">
	<value>SalaryRangeTo</value>
</setting>
<setting name="Field_Vacancies_InternalName" serializeAs="String">
	<value>Vacancies</value>
</setting>
<setting name="Field_OpenFrom_InternalName" serializeAs="String">
	<value>OpenFrom</value>
</setting>
<setting name="Field_ClosedOn_InternalName" serializeAs="String">
	<value>ClosedOn</value>
</setting>
<setting name="Field_PositionHired_InternalName" serializeAs="String">
	<value>PositionHired</value>
</setting>
<setting name="Field_VacanciesRemaining_InternalName" serializeAs="String">
	<value>VacanciesRemaining</value>
</setting>
<setting name="Field_SourceLookup_InternalName" serializeAs="String">
	<value>SourceLookup</value>
</setting>
<setting name="Field_SeniorityLevelLookup_InternalName" serializeAs="String">
	<value>SeniorityLevelLookup</value>
</setting>
<setting name="Field_DocumentTypeLookup_InternalName" serializeAs="String">
	<value>DocumentTypeLookup</value>
</setting>
<setting name="Field_LanguageLookup_InternalName" serializeAs="String">
	<value>LanguageLookup</value>
</setting>
<setting name="Field_TestTypeLookup_InternalName" serializeAs="String">
	<value>TestTypeLookup</value>
</setting>
<setting name="Field_CandidateEmail_InternalName" serializeAs="String">
	<value>CandidateEmail</value>
</setting>
<setting name="Field_CandidatePhoneNumber_InternalName" serializeAs="String">
	<value>CandidatePhoneNumber</value>
</setting>
<setting name="Field_SalaryExpectation_InternalName" serializeAs="String">
	<value>SalaryExpectation</value>
</setting>
<setting name="Field_LinkedInProfile_InternalName" serializeAs="String">
	<value>LinkedInProfile</value>
</setting>
<setting name="Field_FacebookProfile_InternalName" serializeAs="String">
	<value>FacebookProfile</value>
</setting>
<setting name="Field_BlogLink_InternalName" serializeAs="String">
	<value>BlogLink</value>
</setting>
<setting name="Field_OtherInternetLink_InternalName" serializeAs="String">
	<value>OtherInternetLink</value>
</setting>
<setting name="Field_PositionLookup_InternalName" serializeAs="String">
	<value>PositionLookup</value>
</setting>
<setting name="Field_SalaryOffered_InternalName" serializeAs="String">
	<value>SalaryOffered</value>
</setting>
<setting name="Field_CandidateResult_InternalName" serializeAs="String">
	<value>CandidateResult</value>
</setting>
<setting name="Field_TestResultPoints_InternalName" serializeAs="String">
	<value>TestResultPoints</value>
</setting>
<setting name="Field_TestResultPointsMax_InternalName" serializeAs="String">
	<value>TestResultPointsMax</value>
</setting>
<setting name="Field_TestResultPercentage_InternalName" serializeAs="String">
	<value>TestResultPercentage</value>
</setting>
<setting name="Field_ResultSummary_InternalName" serializeAs="String">
	<value>ResultSummary</value>
</setting>
<setting name="Field_Interviewer_InternalName" serializeAs="String">
	<value>Interviewer</value>
</setting>
<setting name="Field_ReferenceCompany_InternalName" serializeAs="String">
	<value>ReferenceCompany</value>
</setting>
<setting name="Field_ReferenceName_InternalName" serializeAs="String">
	<value>ReferenceName</value>
</setting>
<setting name="Field_ReferencePosition_InternalName" serializeAs="String">
	<value>ReferencePosition</value>
</setting>
<setting name="Field_TaskOwner_InternalName" serializeAs="String">
	<value>TaskOwner</value>
</setting>
<setting name="Field_WorkflowStepOrder_InternalName" serializeAs="String">
	<value>WorkflowStepOrder</value>
</setting>
<setting name="Field_PositionLookup_CustomProperty_ShowDefaultButton_Name" serializeAs="String">
	<value>ShowDefaultButton</value>
</setting>
<setting name="Field_TaskContentTypeLookup_InternalName" serializeAs="String">
	<value>TaskContentTypeLookup</value>
</setting>
<setting name="Field_ResultContentTypeLookup_InternalName" serializeAs="String">
	<value>ResultContentTypeLookup</value>
</setting>
<setting name="Field_JobDescription_InternalName" serializeAs="String">
	<value>JobDescription</value>
</setting>
<setting name="Field_ContentTypeLookup_CustomProperty_BaseContentTypeId_Name" serializeAs="String">
	<value>BaseContentTypeId</value>
</setting>
<setting name="Field_ListLookup_CustomProperty_ContentTypeId_Name" serializeAs="String">
	<value>ContentTypeId</value>
</setting>
<setting name="Field_TasksListLookup_InternalName" serializeAs="String">
	<value>TasksListLookup</value>
</setting>
<setting name="Field_WorkflowPositionLookup_InternalName" serializeAs="String">
	<value>WorkflowPositionLookup</value>
</setting>
<setting name="Field_TaskDescription_InternalName" serializeAs="String">
	<value>TaskDescription</value>
</setting>
<setting name="Field_TaskTitle_InternalName" serializeAs="String">
	<value>TaskTitle</value>
</setting>
<setting name="Field_HRWorkflowStatus_InternalName" serializeAs="String">
	<value>HRWorkfl</value>
</setting>
<setting name="Field_SendEmail_InternalName" serializeAs="String">
	<value>SendEmail</value>
</setting>
<setting name="Field_FirstName_InternalName" serializeAs="String">
	<value>FirstName</value>
</setting>
<setting name="Field_LastName_InternalName" serializeAs="String">
	<value>LastName</value>
</setting>
<setting name="Field_CancelIfNoHire_InternalName" serializeAs="String">
	<value>CancelIfNoHire</value>
</setting>

Content Types Settings

To modify IDs of some or all content types, add one or more of following settings into BoldBrick.OneIntranet.HR.Properties.Settings. Unless you are modifying the source code and have a good reason to customize IDs of content types, don't change anything.
<setting name="ContentType_Position_ID" serializeAs="String">
    <value>0x0100778DF92A0172F041944DD13435237073</value>
</setting>
<setting name="ContentType_Result_ID" serializeAs="String">
    <value>0x0100839DF2AC67584210B7F67FDA4634BA76</value>
</setting>
<setting name="ContentType_CVDocument_ID" serializeAs="String">
    <value>0x01007EE9A3D9714D405EA9E170539992B74B</value>
</setting>
<setting name="ContentType_Candidate_ID" serializeAs="String">
    <value>0x012000C8135A5605D92B4BAF6422F43D086144</value>
</setting>
<setting name="ContentType_TestResult_ID" serializeAs="String">
    <value>0x0100839DF2AC67584210B7F67FDA4634BA7600D9C14A9DC2A743479773A5B601FB03CB</value>
</setting>
<setting name="ContentType_InterviewResult_ID" serializeAs="String">
    <value>0x0100839DF2AC67584210B7F67FDA4634BA7600B2B6B9FA810141CA9086D6FC37B6CADC</value>
</setting>
<setting name="ContentType_ReferenceCallResult_ID" serializeAs="String">
    <value>0x0100839DF2AC67584210B7F67FDA4634BA76006A24FDBDC5BA43C8A4CE90110F97DEEB</value>
</setting>
<setting name="ContentType_Workflow_ID" serializeAs="String">
    <value>0x012000FBD907C9CDB54BA58973CB91C8C96A13</value>
</setting>
<setting name="ContentType_WorkflowStep_ID" serializeAs="String">
    <value>0x0100FAF3E03D4A0E42FC93F208DFEDA7E407</value>
</setting>
<setting name="ContentType_InterviewWorkflowStep_ID" serializeAs="String">
    <value>0x0100FAF3E03D4A0E42FC93F208DFEDA7E407009B122952AD0B4B4BA624140987AA352F</value>
</setting>
<setting name="ContentType_ReferenceCallWorkflowStep_ID" serializeAs="String">
    <value>0x0100FAF3E03D4A0E42FC93F208DFEDA7E40700E43F30DCAD5940758FAABAEAA0AD980C</value>
</setting>
<setting name="ContentType_TestWorkflowStep_ID" serializeAs="String">
    <value>0x0100FAF3E03D4A0E42FC93F208DFEDA7E40700435DB74E1A5B4FDCB77CE1626212E928</value>
</setting>
<setting name="ContentType_FinalDecisionWorkflowStep_ID" serializeAs="String">
    <value>0x0100FAF3E03D4A0E42FC93F208DFEDA7E4070032EE8262392040ABB9EF30351F04A500</value>
</setting>
<setting name="ContentType_HRTask_ID" serializeAs="String">
    <value>0x01080100681B4213DD084647AF791EBFB1463918</value>
</setting>
<setting name="ContentType_InterviewTask_ID" serializeAs="String">
    <value>0x01080100681B4213DD084647AF791EBFB146391800BA9237371D6A44EAA535CFFDB94F6B84</value>
</setting>
<setting name="ContentType_TestTask_ID" serializeAs="String">
    <value>0x01080100681B4213DD084647AF791EBFB1463918006CD76666AEDA4CC0938AE320CE1F8EBA</value>
</setting>
<setting name="ContentType_ReferenceCallTask_ID" serializeAs="String">
    <value>0x01080100681B4213DD084647AF791EBFB1463918003D575C7AC8664884957F5043AA0B769B</value>
</setting>
<setting name="ContentType_FinalDecisionTask_ID" serializeAs="String">
    <value>0x01080100681B4213DD084647AF791EBFB14639180003A8488F6F9446AE9F8695B639DAEDB0</value>
</setting>
<setting name="ContentType_FinalDecisionResult_ID" serializeAs="String">
    <value>0x0100839DF2AC67584210B7F67FDA4634BA7600AA137C91EC65497D95B28EF37ABC8869</value>
</setting>
<setting name="ContentType_ReviewResult_ID" serializeAs="String">
    <value>0x0100839DF2AC67584210B7F67FDA4634BA7600F40027BE1C6C4AEF840E573E24A60911</value>
</setting>
<setting name="ContentType_ReviewTask_ID" serializeAs="String">
    <value>0x01080100681B4213DD084647AF791EBFB1463918006DF585025975403386BFF942D4C481D8</value>
</setting>
<setting name="ContentType_ReviewWorkflowStep_ID" serializeAs="String">
    <value>0x0100FAF3E03D4A0E42FC93F208DFEDA7E407004CE938D3485C4F18B4AB4706C828FEC8</value>
</setting>
<setting name="ContentType_CandidateDecisionResult_ID" serializeAs="String">
    <value>0x0100839DF2AC67584210B7F67FDA4634BA76003723344201314DA88AA0C5048088D502</value>
</setting>
<setting name="ContentType_ScheduleInterviewWorkflowStep_ID" serializeAs="String">
    <value>0x0100FAF3E03D4A0E42FC93F208DFEDA7E407001048318F81384AFA9801FAC1516339A7</value>
</setting>
<setting name="ContentType_ScheduleInterviewTask_ID" serializeAs="String">
    <value>0x01080100681B4213DD084647AF791EBFB146391800E3A351922E3B4DE6A7BF4FBEA975D53A</value>
</setting>
<setting name="ContentType_ScheduleInterviewResult_ID" serializeAs="String">
    <value>0x0100839DF2AC67584210B7F67FDA4634BA7600FD144BA9301946DD84734FE14E83252F</value>
</setting>

Lists Settings

View queries

To modify default list view queries add one or more of following settings into BoldBrick.OneIntranet.HR.Properties.Settings element:
<setting name="List_Positions_View_OpenedPositions_Query" serializeAs="String">
    <value>&lt;OrderBy&gt;&lt;FieldRef Name="Title" /&gt;&lt;/OrderBy&gt;&lt;Where&gt;&lt;Or&gt;&lt;Geq&gt;&lt;FieldRef Name="ClosedOn" /&gt;&lt;Value Type="DateTime"&gt;&lt;Today /&gt;&lt;/Value&gt;&lt;/Geq&gt;&lt;IsNull&gt;&lt;FieldRef Name="ClosedOn" /&gt;&lt;/IsNull&gt;&lt;/Or&gt;&lt;/Where&gt;</value>
</setting>
<setting name="List_Positions_View_ArchivedPositions_Query" serializeAs="String">
    <value>&lt;OrderBy&gt;&lt;FieldRef Name="Title" /&gt;&lt;/OrderBy&gt;&lt;Where&gt;&lt;Geq&gt;&lt;FieldRef Name="ClosedOn" /&gt;&lt;Value Type="DateTime"&gt;&lt;Today /&gt;&lt;/Value&gt;&lt;/Geq&gt;&lt;/Where&gt;</value>
</setting>
<setting name="List_Candidates_View_Candidates_Query" serializeAs="String">
    <value>&lt;OrderBy&gt;&lt;FieldRef Name="LastName" /&gt;&lt;FieldRef Name="FirstName" /&gt;&lt;/OrderBy&gt;</value>
</setting>
<setting name="List_Candidates_View_Candidate_Query" serializeAs="String">
    <value>&lt;OrderBy&gt;&lt;FieldRef Name="ID" Ascending="FALSE" /&gt;&lt;/OrderBy&gt;</value>
</setting>
<setting name="List_Workflows_View_Workflows_Query" serializeAs="String">
    <value>&lt;OrderBy&gt;&lt;FieldRef Name="Title" /&gt;&lt;/OrderBy&gt;</value>
</setting>
<setting name="List_Workflows_View_WorkflowSteps_Query" serializeAs="String">
    <value>&lt;OrderBy&gt;&lt;FieldRef Name="WorkflowStepOrder" /&gt;&lt;/OrderBy&gt;</value>
</setting>

View rendering

To modify default list view XSLT transformations add one or more of following settings into BoldBrick.OneIntranet.HR.Properties.Settings element:
<setting name="List_Candidates_View_Candidate_XslLink" serializeAs="String">
    <value>BoldBrick.OneIntranet.HR/CandidatesList.CandiateView.xsl</value>
</setting>
<setting name="List_Candidates_View_Candidates_XslLink" serializeAs="String">
    <value>BoldBrick.OneIntranet.HR/CandidatesList.CandiatesView.xsl</value>
</setting>
<setting name="List_Workflows_View_Workflows_XslLink" serializeAs="String">
    <value>BoldBrick.OneIntranet.HR/WorkflowsList.WorkflowsView.xsl</value>
</setting>
<setting name="List_Workflows_View_WorkflowSteps_XslLink" serializeAs="String">
    <value>BoldBrick.OneIntranet.HR/WorkflowsList.WorkflowStepsView.xsl</value>
</setting>

Last edited Jun 22, 2011 at 11:33 PM by boldbrick, version 2

Comments

No comments yet.