<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
-->

<site-conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns="http://ofbiz.apache.org/Site-Conf" xsi:schemaLocation="http://ofbiz.apache.org/Site-Conf http://ofbiz.apache.org/dtds/site-conf.xsd">
    <include location="component://common/webcommon/WEB-INF/common-controller.xml"/>
    <include location="component://common/webcommon/WEB-INF/security-controller.xml"/>
    <include location="component://commonext/webapp/WEB-INF/controller.xml"/>
    <include location="component://content/webapp/content/WEB-INF/controller.xml"/>
    <description>Party Manager Module Site Configuration File</description>

    <handler name="simplecontent" type="view" class="org.apache.ofbiz.content.view.SimpleContentViewHandler"/>

    <!-- Events to run on every request before security (chains exempt) -->
    <!--
    <preprocessor>
    </preprocessor>
    -->
    <!-- Events to run on every request after all other processing (chains exempt) -->
    <!--
    <postprocessor>
        <event name="test" type="java" path="org.apache.ofbiz.webapp.event.TestEvent" invoke="test"/>
    </postprocessor>
    -->

    <!-- Request Mappings -->
    <request-map uri="view"><security https="true" auth="true"/><response name="success" type="request" value="main"/></request-map>

    <request-map uri="main"><security https="true" auth="true"/><response name="success" type="view" value="main"/></request-map>

    <request-map uri="viewprofile">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="viewprofile" save-home-view="true"/>
    </request-map>
    <request-map uri="EditPartyRelationships"><security https="true" auth="true"/><response name="success" type="view" value="EditPartyRelationships"/></request-map>
    <request-map uri="viewroles"><security https="true" auth="true"/><response name="success" type="view" value="viewroles"/></request-map>
    <request-map uri="viewidentifications"><security https="true" auth="true"/><response name="success" type="view" value="viewidentifications"/></request-map>
    <request-map uri="linkparty"><security https="true" auth="true"/><response name="success" type="view" value="linkparty"/></request-map>
    <request-map uri="partyInvitation"><security https="true" auth="true"/><response name="success" type="view" value="partyInvitation"/></request-map>
    <request-map uri="editPartyInvitation"><security https="true" auth="true"/><response name="success" type="view" value="editPartyInvitation"/></request-map>
    <request-map uri="PartyInvitationGroupAssocs"><security https="true" auth="true"/><response name="success" type="view" value="PartyInvitationGroupAssocs"/></request-map>
    <request-map uri="PartyInvitationRoleAssocs"><security https="true" auth="true"/><response name="success" type="view" value="PartyInvitationRoleAssocs"/></request-map>
    <request-map uri="AddPartyRelatedAccount"><security https="true" auth="true"/><response name="success" type="view" value="AddPartyRelatedAccount"/></request-map>
    <request-map uri="AddAccountRelatedContact"><security https="true" auth="true"/><response name="success" type="view" value="AddAccountRelatedContact"/></request-map>
    <!--Party Invitation Services-->
    <request-map uri="createPartyInvitation">
        <security https="true" auth="true"/>
        <event type="service" invoke="createPartyInvitation"/>
        <response name="success" type="view" value="editPartyInvitation"/>
        <response name="error" type="view" value="editPartyInvitation"/>
    </request-map>

    <request-map uri="updatePartyInvitation">
        <security https="true" auth="true"/>
        <event type="service" invoke="updatePartyInvitation"/>
        <response name="success" type="view" value="editPartyInvitation"/>
        <response name="error" type="view" value="editPartyInvitation"/>
    </request-map>

    <request-map uri="deletePartyInvitation">
        <security https="true" auth="true"/>
        <event type="service" invoke="deletePartyInvitation"/>
        <response name="success" type="view" value="partyInvitation"/>
        <response name="error" type="view" value="partyInvitation"/>
    </request-map>
 <!--Party Invitation Group/Role Assoc Services-->
    <request-map uri="createPartyInvitationGroupAssoc">
        <security https="true" auth="true"/>
        <event type="service" invoke="createPartyInvitationGroupAssoc"/>
        <response name="success" type="view" value="PartyInvitationGroupAssocs"/>
        <response name="error" type="view" value="PartyInvitationGroupAssocs"/>
    </request-map>

    <request-map uri="createPartyInvitationRoleAssoc">
        <security https="true" auth="true"/>
        <event type="service" invoke="createPartyInvitationRoleAssoc"/>
        <response name="success" type="view" value="PartyInvitationRoleAssocs"/>
        <response name="error" type="view" value="PartyInvitationRoleAssocs"/>
    </request-map>

    <request-map uri="deletePartyInvitationGroupAssoc">
        <security https="true" auth="true"/>
        <event type="service" invoke="deletePartyInvitationGroupAssoc"/>
        <response name="success" type="view" value="PartyInvitationGroupAssocs"/>
        <response name="error" type="view" value="PartyInvitationGroupAssocs"/>
    </request-map>

    <request-map uri="deletePartyInvitationRoleAssoc">
        <security https="true" auth="true"/>
        <event type="service" invoke="deletePartyInvitationRoleAssoc"/>
        <response name="success" type="view" value="PartyInvitationRoleAssocs"/>
        <response name="error" type="view" value="PartyInvitationRoleAssocs"/>
    </request-map>
 <!--Party Invitation Group/Role Assoc Services End-->
    <request-map uri="setPartyLink">
        <security https="true" auth="true"/>
        <event type="service" invoke="linkPartyRecord"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
    </request-map>

    <request-map uri="applyServiceCredit">
        <security https="true" auth="true"/>
        <event type="service" invoke="createServiceCredit"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
            <redirect-parameter name="roleTypeId"/>
        </response>
        <response name="error" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
            <redirect-parameter name="roleTypeId"/>
        </response>
    </request-map>

    <request-map uri="editcontactmech">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="editcontactmech" save-current-view="true"/>
    </request-map>
    <request-map uri="createContactMech">
        <security https="true" auth="true"/>
        <event type="service" invoke="createPartyContactMech"/>
        <response name="success" type="view" value="editcontactmech"/>
        <response name="error" type="view" value="editcontactmech"/>
    </request-map>
    <request-map uri="updateContactMech">
        <security https="true" auth="true"/>
        <event type="service" invoke="updatePartyContactMech"/>
        <response name="success" type="view" value="editcontactmech"/>
        <response name="error" type="view" value="editcontactmech"/>
    </request-map>
    <request-map uri="deleteContactMech">
        <security https="true" auth="true"/>
        <event type="service" invoke="deletePartyContactMech"/>
        <response name="success" type="view-home" value="editcontactmech"/>
        <response name="error" type="view" value="editcontactmech"/>
    </request-map>

    <request-map uri="createPostalAddressAndPurpose">
        <security https="true" auth="true"/>
        <event type="service" invoke="createPartyPostalAddress"/>
        <response name="success" type="view" value="editcontactmech"/>
        <response name="error" type="view" value="editcontactmech"/>
    </request-map>

    <request-map uri="createPostalAddress">
        <security https="true" auth="true"/>
        <event type="service" invoke="createPartyPostalAddress"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
        <response name="error" type="view" value="editcontactmech"/>
    </request-map>
    <request-map uri="updatePostalAddress">
        <security https="true" auth="true"/>
        <event type="service" invoke="updatePartyPostalAddress"/>
        <response name="success" type="view" value="editcontactmech"/>
        <response name="error" type="view" value="editcontactmech"/>
    </request-map>

    <request-map uri="createTelecomNumber">
        <security https="true" auth="true"/>
        <event type="service" invoke="createPartyTelecomNumber"/>
        <response name="success" type="view" value="editcontactmech"/>
        <response name="error" type="view" value="editcontactmech"/>
    </request-map>
    <request-map uri="updateTelecomNumber">
        <security https="true" auth="true"/>
        <event type="service" invoke="updatePartyTelecomNumber"/>
        <response name="success" type="view" value="editcontactmech"/>
        <response name="error" type="view" value="editcontactmech"/>
    </request-map>

    <request-map uri="createEmailAddress">
        <security https="true" auth="true"/>
        <event type="service" invoke="createPartyEmailAddress"/>
        <response name="success" type="view" value="editcontactmech"/>
        <response name="error" type="view" value="editcontactmech"/>
    </request-map>
    <request-map uri="updateEmailAddress">
        <security https="true" auth="true"/>
        <event type="service" invoke="updatePartyEmailAddress"/>
        <response name="success" type="view" value="editcontactmech"/>
        <response name="error" type="view" value="editcontactmech"/>
    </request-map>

    <request-map uri="createFtpAddress">
        <security https="true" auth="true"/>
        <event type="service" invoke="createPartyFtpAddress"/>
        <response name="success" type="view" value="editcontactmech"/>
        <response name="error" type="view" value="editcontactmech"/>
    </request-map>
    <request-map uri="updateFtpAddress">
        <security https="true" auth="true"/>
        <event type="service" invoke="updatePartyFtpAddress"/>
        <response name="success" type="view" value="editcontactmech"/>
        <response name="error" type="view" value="editcontactmech"/>
    </request-map>

    <request-map uri="createPartyContactMechPurpose">
        <security https="true" auth="true"/>
        <event type="service" invoke="createPartyContactMechPurpose"/>
        <response name="success" type="view" value="editcontactmech"/>
        <response name="error" type="view" value="editcontactmech"/>
    </request-map>
    <request-map uri="expirePartyContactMechPurpose">
        <security https="true" auth="true"/>
        <event type="service" invoke="expirePartyContactMechPurpose"/>
        <response name="success" type="view" value="editcontactmech"/>
        <response name="error" type="view" value="editcontactmech"/>
    </request-map>

<!-- Shoppinglist request mappings -->
    <request-map uri="editShoppingList"><security https="true" auth="true"/><response name="success" type="view" value="editShoppingList"/></request-map>
    <request-map uri="createEmptyShoppingList">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="createShoppingList"/>
        <response name="success" type="view" value="editShoppingList"/>
        <response name="error" type="view" value="editShoppingList"/>
    </request-map>
    <request-map uri="updateShoppingList">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="updateShoppingList"/>
        <response name="success" type="view" value="editShoppingList"/>
        <response name="error" type="view" value="editShoppingList"/>
    </request-map>

    <request-map uri="addItemToShoppingList">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="createShoppingListItem"/>
        <response name="success" type="view" value="editShoppingList"/>
        <response name="error" type="view" value="editShoppingList"/>
    </request-map>
    <request-map uri="addBulkToShoppingList">
        <security https="true" auth="true"/>
        <event type="java" path="org.apache.ofbiz.order.shoppinglist.ShoppingListEvents" invoke="addBulkFromCart"/>
        <response name="success" type="view" value="editShoppingList"/>
        <response name="error" type="view" value="editShoppingList"/>
    </request-map>
    <request-map uri="addListToCart">
        <security https="true" auth="true"/>
        <event type="java" path="org.apache.ofbiz.order.shoppinglist.ShoppingListEvents" invoke="addListToCart"/>
        <response name="success" type="view" value="editShoppingList"/>
        <response name="error" type="view" value="editShoppingList"/>
    </request-map>

    <request-map uri="updateShoppingListItem">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="updateShoppingListItem"/>
        <response name="success" type="view" value="editShoppingList"/>
        <response name="error" type="view" value="editShoppingList"/>
    </request-map>
    <request-map uri="removeFromShoppingList">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="removeShoppingListItem"/>
        <response name="success" type="view" value="editShoppingList"/>
        <response name="error" type="view" value="editShoppingList"/>
    </request-map>
    <request-map uri="replaceShoppingListItem">
        <security https="true" auth="true"/>
        <event type="java" path="org.apache.ofbiz.order.shoppinglist.ShoppingListEvents" invoke="replaceShoppingListItem"/>
        <response name="success" type="view" value="editShoppingList"/>
        <response name="error" type="view" value="editShoppingList"/>
    </request-map>

    <request-map uri="restoreCartFromList">
        <security https="true" auth="true"/>
        <event type="java" path="org.apache.ofbiz.order.shoppinglist.ShoppingListEvents" invoke="restoreAutoSaveList"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
        <response name="error" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
    </request-map>
<!-- End Shoppinglist request mappings -->

    <request-map uri="editcreditcard"><security https="true" auth="true"/><response name="success" type="view" value="editcreditcard"/></request-map>
    <request-map uri="createCreditCard">
        <security https="true" auth="true"/>
        <event type="simple" path="component://accounting/minilang/payment/PaymentMethodEvents.xml" invoke="createCreditCard"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
        <response name="address" type="view" value="editcontactmech"/>
        <response name="error" type="view" value="editcreditcard"/>
    </request-map>
    <request-map uri="updateCreditCard">
        <security https="true" auth="true"/>
        <event type="simple" path="component://accounting/minilang/payment/PaymentMethodEvents.xml" invoke="updateCreditCard"/>
        <response name="success" type="view" value="editcreditcard"/>
        <response name="error" type="view" value="editcreditcard"/>
    </request-map>

    <request-map uri="editgiftcard"><security https="true" auth="true"/><response name="success" type="view" value="editgiftcard"/></request-map>
    <request-map uri="createGiftCard">
        <security https="true" auth="true"/>
        <event type="service" invoke="createGiftCard"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
        <response name="error" type="view" value="editgiftcard"/>
    </request-map>
    <request-map uri="updateGiftCard">
        <security https="true" auth="true"/>
        <event type="service" invoke="updateGiftCard"/>
        <response name="success" type="view" value="editgiftcard"/>
        <response name="error" type="view" value="editgiftcard"/>
    </request-map>

    <request-map uri="editeftaccount"><security https="true" auth="true"/><response name="success" type="view" value="editeftaccount"/></request-map>
    <request-map uri="createEftAccount">
        <security https="true" auth="true"/>
        <event type="simple" path="component://accounting/minilang/payment/PaymentMethodEvents.xml" invoke="createEftAccount"/>
        <response name="success" type="view" value="editeftaccount"/>
        <response name="error" type="view" value="editeftaccount"/>
    </request-map>
    <request-map uri="updateEftAccount">
        <security https="true" auth="true"/>
        <event type="simple" path="component://accounting/minilang/payment/PaymentMethodEvents.xml" invoke="updateEftAccount"/>
        <response name="success" type="view" value="editeftaccount"/>
        <response name="error" type="view" value="editeftaccount"/>
    </request-map>

    <request-map uri="AddCheckAccount"><security https="true" auth="true"/><response name="success" type="view" value="AddCheckAccount"/></request-map>
    <request-map uri="createCheckForParty">
        <security https="true" auth="true"/>
        <event type="simple" path="component://accounting/minilang/payment/PaymentMethodEvents.xml" invoke="createCheckAccount"/>
        <response name="success" type="view" value="AddCheckAccount"/>
        <response name="error" type="view" value="AddCheckAccount"/>
    </request-map>
    <request-map uri="updateCheckAccount">
        <security https="true" auth="true"/>
        <event type="simple" path="component://accounting/minilang/payment/PaymentMethodEvents.xml" invoke="updateCheckAccount"/>
        <response name="success" type="view" value="AddCheckAccount"/>
        <response name="error" type="view" value="AddCheckAccount"/>
    </request-map>
    <request-map uri="editAvsOverride"><security https="true" auth="true"/><response name="success" type="view" value="editavsoverride"/></request-map>
    <request-map uri="updateAvsOverride">
        <security https="true" auth="true"/>
        <event type="simple" path="component://party/minilang/party/PartySimpleMethods.xml" invoke="updateAVSOverride"/>
        <response name="success" type="view" value="editavsoverride"/>
        <response name="error" type="view" value="editavsoverride"/>
    </request-map>
    <request-map uri="resetAvsOverride">
        <security https="true" auth="true"/>
        <event type="simple" path="component://party/minilang/party/PartySimpleMethods.xml" invoke="deleteAVSOverride"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
        <response name="error" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
    </request-map>

    <request-map uri="deletePaymentMethod">
        <security https="true" auth="true"/>
        <event type="simple" path="component://accounting/minilang/payment/PaymentMethodEvents.xml" invoke="deletePaymentMethod"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
            <redirect-parameter name="roleTypeId"/>
        </response>
        <response name="error" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
            <redirect-parameter name="roleTypeId"/>
        </response>
    </request-map>

    <request-map uri="NewCustomer"><security https="true" auth="true"/><response name="success" type="view" value="NewCustomer"/></request-map>
    <request-map uri="createCustomer">
        <security https="true" auth="true"/>
        <event type="simple" path="component://party/minilang/user/UserEvents.xml" invoke="createCustomer"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
        <response name="error" type="view" value="NewCustomer"/>
    </request-map>

    <request-map uri="NewProspect"><security https="true" auth="true"/><response name="success" type="view" value="NewProspect"/></request-map>
    <request-map uri="createProspect">
        <security https="true" auth="true"/>
        <event type="simple" path="component://party/minilang/user/UserEvents.xml" invoke="createProspect"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
        <response name="error" type="view" value="NewProspect"/>
    </request-map>

    <request-map uri="NewEmployee"><security https="true" auth="true"/><response name="success" type="view" value="NewEmployee"/></request-map>
    <request-map uri="createEmployee">
        <security https="true" auth="true"/>
        <event type="simple" path="component://party/minilang/user/UserEvents.xml" invoke="createEmployee"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
        <response name="error" type="view" value="NewEmployee"/>
    </request-map>

    <request-map uri="editperson"><security https="true" auth="true"/><response name="success" type="view" value="EditPerson"/></request-map>
    <request-map uri="createPerson">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="createPerson"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
        <response name="error" type="view" value="EditPerson"/>
    </request-map>
    <request-map uri="updatePerson">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="updatePerson"/>
        <response name="success" type="view-last"/>
        <response name="error" type="view" value="EditPerson"/>
    </request-map>

    <request-map uri="editpartygroup"><security https="true" auth="true"/><response name="success" type="view" value="EditPartyGroup"/></request-map>
    <request-map uri="createPartyGroup">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="createPartyGroup"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
        <response name="error" type="view" value="EditPartyGroup"/>
    </request-map>
    <request-map uri="updatePartyGroup">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="updatePartyGroup"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
        <response name="error" type="view" value="EditPartyGroup"/>
    </request-map>

    <request-map uri="viewvendor"><security https="true" auth="true"/><response name="success" type="view" value="viewvendor"/></request-map>
    <request-map uri="createVendor">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="createVendor"/>
        <response name="success" type="view" value="viewvendor"/>
        <response name="error" type="view" value="viewvendor"/>
    </request-map>
    <request-map uri="updateVendor">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="updateVendor"/>
        <response name="success" type="view" value="viewvendor"/>
        <response name="error" type="view" value="viewvendor"/>
    </request-map>

     <request-map uri="editPartyAttribute">
         <security https="true" auth="true"/>
         <response name="success" type="view" value="EditPartyAttribute"/>
     </request-map>
    <request-map uri="createPartyAttribute">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="createPartyAttribute"/>
        <response name="success" type="request" value="backHome"/>
        <response name="error" type="view" value="EditPartyAttribute"/>
    </request-map>
    <request-map uri="updatePartyAttribute">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="updatePartyAttribute"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
        <response name="error" type="view" value="EditPartyAttribute"/>
    </request-map>
    <request-map uri="removePartyAttribute">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="removePartyAttribute"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
        <response name="error" type="view" value="viewprofile"/>
    </request-map>

    <request-map uri="EditPartyTaxAuthInfos"><security https="true" auth="true"/><response name="success" type="view" value="EditPartyTaxAuthInfos"/></request-map>
    <request-map uri="createPartyTaxAuthInfo">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="createPartyTaxAuthInfo"/>
        <response name="success" type="view" value="EditPartyTaxAuthInfos"/>
        <response name="error" type="view" value="EditPartyTaxAuthInfos"/>
    </request-map>
    <request-map uri="updatePartyTaxAuthInfo">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="updatePartyTaxAuthInfo"/>
        <response name="success" type="view" value="EditPartyTaxAuthInfos"/>
        <response name="error" type="view" value="EditPartyTaxAuthInfos"/>
    </request-map>
    <request-map uri="deletePartyTaxAuthInfo">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="deletePartyTaxAuthInfo"/>
        <response name="success" type="view" value="EditPartyTaxAuthInfos"/>
        <response name="error" type="view" value="EditPartyTaxAuthInfos"/>
    </request-map>

    <request-map uri="findparty"><security https="true" auth="true"/><response name="success" type="view" value="findparty"/></request-map>

    <request-map uri="AddPartyNote"><security https="true" auth="true"/><response name="success" type="view" value="AddPartyNote"/></request-map>
    <request-map uri="createPartyNote">
        <security https="true" auth="true"/>
        <event type="service" invoke="createPartyNote"/>
        <response name="success" type="request" value="backHome"/>
        <response name="error" type="view" value="AddPartyNote"/>
    </request-map>

    <request-map uri="createCustRequest">
        <security https="true" auth="true"/>
        <event type="service" invoke="createCustRequest"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
        <response name="error" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
    </request-map>
    <request-map uri="newrequest">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="EditRequest"/>
    </request-map>
    <request-map uri="createrequest">
        <security https="true" auth="true"/>
        <event type="service" invoke="createCustRequest"/>
        <response name="success" type="view-last-noparam" value="RequestList"/>
        <response name="error" type="view" value="EditRequest"/>
    </request-map>


    <!-- ContactList request mappings -->
    <request-map uri="ListPartyContactLists"><security https="true" auth="true"/><response name="success" type="view" value="ListPartyContactLists"/></request-map>
    <request-map uri="createContactListParty">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="createContactListParty"/>
        <response name="success" type="view" value="ListPartyContactLists"/>
        <response name="error" type="view" value="ListPartyContactLists"/>
    </request-map>
    <request-map uri="updateContactListParty">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="updateContactListParty"/>
        <response name="success" type="view" value="ListPartyContactLists"/>
        <response name="error" type="view" value="ListPartyContactLists"/>
    </request-map>

    <request-map uri="EditPartyRates"><security https="true" auth="true"/><response name="success" type="view" value="EditPartyRates"/></request-map>
    <request-map uri="createPartyRate">
        <security https="true" auth="true"/>
        <event type="service" invoke="updatePartyRate"/>
        <response name="success" type="view" value="EditPartyRates"/>
        <response name="error" type="view" value="EditPartyRates"/>
    </request-map>
    <request-map uri="updatePartyRate">
        <security https="true" auth="true"/>
        <event type="service" invoke="updatePartyRate"/>
        <response name="success" type="view" value="EditPartyRates"/>
        <response name="error" type="view" value="EditPartyRates"/>
    </request-map>
    <request-map uri="expirePartyRate">
        <security https="true" auth="true"/>
        <event type="service" invoke="expirePartyRate"/>
        <response name="success" type="view" value="EditPartyRates"/>
        <response name="error" type="view" value="EditPartyRates"/>
    </request-map>

    <request-map uri="ViewSegmentRoles"><security https="true" auth="true"/><response name="success" type="view" value="ViewSegmentRoles"/></request-map>
    <request-map uri="createSegmentRole">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="createSegmentGroupRole"/>
        <response name="success" type="view" value="ViewSegmentRoles"/>
        <response name="error" type="view" value="ViewSegmentRoles"/>
    </request-map>
    <request-map uri="deleteSegmentGroupRole">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="deleteSegmentGroupRole"/>
        <response name="success" type="view" value="ViewSegmentRoles"/>
        <response name="error" type="view" value="ViewSegmentRoles"/>
    </request-map>

    <request-map uri="addsecondaryroles"><security https="true" auth="true"/><response name="success" type="view" value="addsecondaryroles"/></request-map>
    <request-map uri="addrole">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="createPartyRole"/>
        <response name="success" type="view" value="viewroles"/>
        <response name="error" type="view" value="viewroles"/>
    </request-map>
    <request-map uri="deleterole">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="deletePartyRole"/>
        <response name="success" type="view" value="viewroles"/>
        <response name="error" type="view" value="viewroles"/>
    </request-map>
    <request-map uri="createroletype">
        <security https="true" auth="true"/>
        <event type="service" invoke="createRoleType"/>
        <response name="success" type="view" value="viewroles"/>
        <response name="error" type="view" value="viewroles"/>
    </request-map>

    <request-map uri="createPartyIdentification">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="createPartyIdentification"/>
        <response name="success" type="view" value="viewidentifications"/>
        <response name="error" type="view" value="viewidentifications"/>
    </request-map>
    <request-map uri="deletePartyIdentification">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="deletePartyIdentification"/>
        <response name="success" type="view" value="viewidentifications"/>
        <response name="error" type="view" value="viewidentifications"/>
    </request-map>
    <request-map uri="updatePartyIdentification">
        <security https="true" auth="true"/>
        <event type="service" invoke="updatePartyIdentification"/>
        <response name="success" type="view" value="viewidentifications"/>
        <response name="error" type="view" value="viewidentifications"/>
    </request-map>
    <request-map uri="EditPartyIdentification">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="viewidentifications"/>
        <response name="error" type="view" value="viewidentifications"/>
    </request-map>

    <request-map uri="createPartyRelationshipType">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="createPartyRelationshipType"/>
        <response name="success" type="view" value="EditPartyRelationships"/>
        <response name="error" type="view" value="EditPartyRelationships"/>
    </request-map>

    <request-map uri="createPartyRelationship">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="createPartyRelationship"/>
        <response name="success" type="view" value="EditPartyRelationships"/>
        <response name="error" type="view" value="EditPartyRelationships"/>
    </request-map>
    <request-map uri="createPartyRelationshipAndRole">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="createPartyRelationshipAndRole"/>
        <response name="success" type="request-redirect-noparam" value="backHome"/>
        <response name="error" type="request-redirect-noparam" value="backHome"/>
    </request-map>
    <request-map uri="createPartyRelationshipContactAccount">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="createPartyRelationshipContactAccount"/>
        <response name="success" type="view-home"/>
        <response name="error" type="view-home"/>
    </request-map>
    <request-map uri="updatePartyRelationship">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="updatePartyRelationship"/>
        <response name="success" type="view" value="EditPartyRelationships"/>
        <response name="error" type="view" value="EditPartyRelationships"/>
    </request-map>
    <request-map uri="deletePartyRelationship">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="deletePartyRelationship"/>
        <response name="success" type="view" value="EditPartyRelationships"/>
        <response name="error" type="view" value="EditPartyRelationships"/>
    </request-map>

    <request-map uri="findVisits"><security https="true" auth="true"/><response name="success" type="view" value="findVisits"/></request-map>
    <request-map uri="visitdetail"><security https="true" auth="true"/><response name="success" type="view" value="visitdetail"/></request-map>
    <request-map uri="listLoggedInUsers"><security https="true" auth="true"/><response name="success" type="view" value="listLoggedInUsers"/></request-map>

    <!-- communication event requests -->
    <request-map uri="setCommunicationEventRoleStatus">
        <security https="true" auth="true"/>
        <event type="service" invoke="setCommunicationEventRoleStatus"/>
        <response name="success" type="view-last-noparam"/>
        <response name="error" type="view-last"/>
    </request-map>
    <request-map uri="MyCommunicationEvents">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="MyCommunicationEvents" save-home-view="true"/>
    </request-map>
    <request-map uri="FindCommunicationEvents">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="FindCommunicationEvents" save-home-view="true"/>
    </request-map>
    <request-map uri="ListCommContent">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="ListCommContent"/>
    </request-map>
    <request-map uri="PendingCommunications">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="PendingCommunications"/>
    </request-map>
    <request-map uri="EditCommunicationEvent">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="EditCommunicationEvent" save-current-view="true"/>
    </request-map>
    <request-map uri="ViewCommunicationEvent">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="ViewCommunicationEvent"/>
    </request-map>
    <request-map uri="uploadAttachFiletoEmail">
        <security https="true" auth="true"/>
        <event type="simple" invoke="createCommunicationEventContent" path="component://party/minilang/communication/CommunicationEventEvents.xml"/>
        <response name="success" type="view-home" value="EditCommunicationEvent"/>
        <response name="error" type="view-home" value="EditCommunicationEvent"/>
    </request-map>
    <request-map uri="uploadAttachFile">
        <security https="true" auth="true"/>
        <event type="simple" invoke="createCommunicationEventContent" path="component://party/minilang/communication/CommunicationEventEvents.xml"/>
        <response name="success" type="view" value="ListCommContent"/>
        <response name="error" type="view" value="ListCommContent"/>
    </request-map>
    <request-map uri="removeAttachFile">
        <security https="true" auth="true"/>
        <event type="service" invoke="expireCommEventContentAssoc"/>
        <response name="success" type="request" value="ViewCommunicationEvent"/>
        <response name="error" type="view" value="ViewCommunicationEvent"/>
    </request-map>
    <request-map uri="AddCommContent">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="AddCommContent"/>
    </request-map>
    <request-map uri="EditCommContent">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="EditCommContent"/>
    </request-map>
    <request-map uri="NewDraftCommunicationEvent">
        <security https="true" auth="true"/>
        <event type="service" invoke="createCommunicationEvent"/>
        <response name="success" type="view" value="EditCommunicationEvent" save-current-view="true"/>
    </request-map>
    <request-map uri="createCommunicationEvent">
        <security https="true" auth="true"/>
        <event type="service" invoke="createCommunicationEvent"/>
        <response name="success" type="view-last"/>
        <response name="error" type="view" value="EditCommunicationEvent"/>
    </request-map>
    <request-map uri="updateCommunicationEvent">
        <security https="true" auth="true"/>
        <event type="service" invoke="updateCommunicationEvent"/>
        <response name="success" type="view-last-noparam" value="EditCommunicationEvent"/>
        <response name="error" type="view" value="EditCommunicationEvent"/>
    </request-map>
    <request-map uri="sendCommunicationEvent">
        <security https="true" auth="true"/>
        <event type="service" invoke="updateCommunicationEvent"/>
        <response name="success" type="view-last-noparam" value="EditCommunicationEvent"/>
        <response name="error" type="view" value="EditCommunicationEvent"/>
    </request-map>
    <request-map uri="deleteCommunicationEvent">
        <security https="true" auth="true"/>
        <event type="service" invoke="deleteCommunicationEvent"/>
        <response name="success" type="view-last-noparam"/>
        <response name="error" type="view-last"/>
    </request-map>
    <request-map uri="deleteUnknownCommunicationEvent">
        <security https="true" auth="true"/>
        <event type="service" invoke="deleteCommunicationEvent"/>
        <response name="success" type="view-last" save-last-view="true"/>
        <response name="error" type="view-last" save-last-view="true"/>
    </request-map>
    <request-map uri="deleteCommunicationEvents">
        <security https="true" auth="true"/>
        <event type="service-multi" invoke="deleteCommunicationEvent"/>
        <response name="success" type="view-home"/>
        <response name="error" type="view-home"/>
    </request-map>
    <request-map uri="listUnknownPartyComms">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="ListUnknownPartyComms" save-home-view="true"/>
    </request-map>
    <request-map uri="FindCommunicationByOrder">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="FindCommunicationByOrder"/>
    </request-map>
    <request-map uri="FindCommunicationByReturn">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="FindCommunicationByReturn"/>
    </request-map>
    <request-map uri="editRequestFromCommEvent">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="EditRequestFromCommEvent" save-last-view="true"/>
    </request-map>
    <request-map uri="createRequestFromCommEvent">
        <security https="true" auth="true"/>
        <event type="service" invoke="createCustRequestFromCommEvent"/>
        <response name="success" type="view-home"/>
        <response name="error" type="view-last"/>
    </request-map>
    <request-map uri="ViewRequest">
        <security auth="true" https="true"/>
        <response name="success" type="view" value="ViewRequest"/>
    </request-map>
    <request-map uri="EditRequest">
        <security auth="true" https="true"/>
        <response name="success" type="view" value="EditRequest"/>
    </request-map>

    <request-map uri="allocateMsgToParty">
        <security https="true" auth="true"/>
        <event type="simple" path="component://party/minilang/communication/CommunicationEventEvents.xml" invoke="allocateMsgToParty"/>
        <response name="success" type="view-last-noparam"/>
        <response name="error" type="view-last" value="ViewCommunicationEvent"/>
    </request-map>

    <request-map uri="createCommContentDataResource">
        <security https="true" auth="true"/>
        <event type="service" invoke="createCommContentDataResource"/>
        <response name="error" type="view" value="AddCommContent"/>
        <response name="success" type="view" value="EditCommContent"/>
    </request-map>

    <request-map uri="updateCommContentDataResource">
        <security https="true" auth="true"/>
        <event type="service" invoke="updateCommContentDataResource"/>
        <response name="success" type="view" value="EditCommContent"/>
        <response name="error" type="view" value="EditCommContent"/>
    </request-map>

    <request-map uri="uploadCommEventContent">
        <security https="true" auth="true"/>
        <event type="service" invoke="persistContentAndAssoc"/>
        <response name="success" type="view-last"/>
        <response name="error" type="view-last"/>
    </request-map>

    <request-map uri="UpdateCommPurposes"><security https="true" auth="true"/><response name="success" type="view" value="UpdateCommPurposes"/></request-map>
    <request-map uri="createCommunicationEventPurpose">
        <security https="true" auth="true"/>
        <event type="service" invoke="createCommunicationEventPurpose"/>
        <response name="success" type="view" value="UpdateCommPurposes"/>
        <response name="error" type="view" value="UpdateCommPurposes"/>
    </request-map>
    <request-map uri="removeCommunicationEventPurpose">
        <security https="true" auth="true"/>
        <event type="service" invoke="removeCommunicationEventPurpose"/>
        <response name="success" type="view" value="UpdateCommPurposes"/>
        <response name="error" type="view" value="UpdateCommPurposes"/>
    </request-map>

    <request-map uri="UpdateCommRoles">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="UpdateCommRoles" save-current-view="true"/>
    </request-map>
    <request-map uri="createCommunicationEventRole">
        <security https="true" auth="true"/>
        <event type="service" invoke="createCommunicationEventRole"/>
        <response name="success" type="view-home" value="EditCommunicationEvent"/>
        <response name="error" type="view-home" value="EditCommunicationEvent"/>
    </request-map>
    <request-map uri="RemoveCommunicationEventRole">
        <security https="true" auth="true"/>
        <event type="service" invoke="removeCommunicationEventRole"/>
        <response name="success" type="view-last"/>
        <response name="error" type="view-last"/>
    </request-map>
    <request-map uri="ListPartyCommEvents"><security https="true" auth="true"/><response name="success" type="view" value="ListPartyCommEvents"/></request-map>

    <!-- TODO
    <request-map uri="ListCommCustRequests"><security https="true" auth="true"/><response name="success" type="view" value="ListCommCustRequests"/></request-map>
    -->

    <request-map uri="showclassgroups"><security https="true" auth="true"/><response name="success" type="view" value="FindPartyClassificationGroups"/></request-map>
    <request-map uri="EditPartyClassifications"><security https="true" auth="true"/><response name="success" type="view" value="EditPartyClassifications"/></request-map>
    <request-map uri="EditPartyClassificationGroupParties"><security https="true" auth="true"/><response name="success" type="view" value="EditPartyClassificationGroupParties"/></request-map>
    <request-map uri="EditPartyClassificationGroup"><security https="true" auth="true"/><response name="success" type="view" value="EditPartyClassificationGroup"/></request-map>
    <request-map uri="createPartyClassification">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="createPartyClassification"/>
        <response name="success" type="view" value="EditPartyClassifications"/>
        <response name="error" type="view" value="EditPartyClassifications"/>
    </request-map>
    <request-map uri="updatePartyClassification">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="updatePartyClassification"/>
        <response name="success" type="view" value="EditPartyClassifications"/>
        <response name="error" type="view" value="EditPartyClassifications"/>
    </request-map>
    <request-map uri="createPartyClassificationParty">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="createPartyClassification"/>
        <response name="success" type="view" value="EditPartyClassificationGroupParties"/>
        <response name="error" type="view" value="EditPartyClassificationGroupParties"/>
    </request-map>
    <request-map uri="updatePartyClassificationParty">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="updatePartyClassification"/>
        <response name="success" type="view" value="EditPartyClassificationGroupParties"/>
        <response name="error" type="view" value="EditPartyClassificationGroupParties"/>
    </request-map>
    <request-map uri="deletePartyClassification">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="deletePartyClassification"/>
        <response name="success" type="view" value="EditPartyClassifications"/>
        <response name="error" type="view" value="EditPartyClassifications"/>
    </request-map>
    <request-map uri="createPartyClassificationGroup">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="createPartyClassificationGroup"/>
        <response name="success" type="view" value="FindPartyClassificationGroups"/>
        <response name="error" type="view" value="EditPartyClassificationGroup"/>
    </request-map>
    <request-map uri="updatePartyClassificationGroup">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="updatePartyClassificationGroup"/>
        <response name="success" type="view" value="FindPartyClassificationGroups"/>
        <response name="error" type="view" value="EditPartyClassificationGroup"/>
    </request-map>
    <request-map uri="deletePartyClassificationGroup">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="deletePartyClassificationGroup"/>
        <response name="success" type="view" value="FindPartyClassificationGroups"/>
        <response name="error" type="view" value="FindPartyClassificationGroups"/>
    </request-map>

    <!--  WorkEffort CommunicationEvents requests -->
    <request-map uri="ListCommWorkEfforts"><security https="true" auth="true"/><response name="success" type="view" value="ListCommWorkEfforts"/></request-map>
    <request-map uri="AddCommEventWorkEffort"><security https="true" auth="true"/><response name="success" type="view" value="AddCommEventWorkEffort"/></request-map>
    <request-map uri="EditCommEventWorkEffort"><security https="true" auth="true"/><response name="success" type="view" value="EditCommEventWorkEffort"/></request-map>

    <request-map uri="createCommEventWorkEffort">
        <security https="true" auth="true"/>
        <event type="service" invoke="createCommEventWorkEffort"/>
        <response name="success" type="view" value="EditCommEventWorkEffort"/>
        <response name="error" type="view" value="AddCommEventWorkEffort"/>
    </request-map>
    <request-map uri="updateCommEventWorkEffort">
        <security https="true" auth="true"/>
        <event type="service" invoke="updateCommunicationEventWorkEff"/>
        <response name="success" type="view" value="ListCommWorkEfforts"/>
        <response name="error" type="view" value="ListCommWorkEfforts"/>
    </request-map>

    <request-map uri="deleteCommEventWorkEffort">
        <security https="true" auth="true"/>
        <event type="service" invoke="deleteCommunicationEventWorkEff"/>
        <response name="success" type="view" value="ListCommWorkEfforts"/>
        <response name="error" type="view" value="ListCommWorkEfforts"/>
    </request-map>

    <!-- address match map requests -->
    <request-map uri="addressMatchMap">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="AddressMatchMap"/>
    </request-map>
    <request-map uri="createAddressMatchMap">
        <security https="true" auth="true"/>
        <event type="service" invoke="createAddressMatchMap"/>
        <response name="success" type="view" value="AddressMatchMap"/>
        <response name="error" type="view" value="AddressMatchMap"/>
    </request-map>
    <request-map uri="removeAddressMatchMap">
        <security https="true" auth="true"/>
        <event type="service" invoke="removeAddressMatchMap"/>
        <response name="success" type="view" value="AddressMatchMap"/>
        <response name="error" type="view" value="AddressMatchMap"/>
    </request-map>
    <request-map uri="clearAddressMatchMap">
        <security https="true" auth="true"/>
        <event type="service" invoke="clearAddressMatchMap"/>
        <response name="success" type="view" value="AddressMatchMap"/>
        <response name="error" type="view" value="AddressMatchMap"/>
    </request-map>
    <request-map uri="importAddressMatchMapCsv">
        <security https="true" auth="true"/>
        <event type="service" invoke="importAddressMatchMapCsv"/>
        <response name="success" type="view" value="AddressMatchMap"/>
        <response name="error" type="view" value="AddressMatchMap"/>
    </request-map>
    <request-map uri="findAddressMatch">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="FindAddressMatch"/>
    </request-map>

    <!-- Import export -->
    <request-map uri="ImportExport">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="ImportExport"/>
    </request-map>
    <request-map uri="ExportPartyCsv.csv">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="PartyExportCsv"/>
    </request-map>
    <request-map uri="uploadParty">
        <security auth="true" https="true"/>
        <event type="service" invoke="importParty" path=""/>
        <response name="success" type="request" value="ImportExport"/>
        <response name="error" type="view" value="ImportExport"/>
    </request-map>

   <!-- ================ SimpleContent Requests ================= -->

    <request-map uri="ViewSimpleContent">
        <security auth="true" https="true"/>
        <response name="success" type="view" value="ViewSimpleContent"/>
    </request-map>

    <!-- Create and Upload Party Content -->
    <request-map uri="EditPartyContent">
        <security auth="true" https="true"/>
        <response name="success" type="view" value="EditPartyContent"/>
    </request-map>
    <request-map uri="EditPartyContents">
        <security auth="true" https="true"/>
        <response name="success" type="view" value="EditPartyContents"/>
    </request-map>

    <request-map uri="createPartyContent">
        <security auth="true" https="true"/>
        <event type="simple" path="component://party/minilang/party/PartySimpleEvents.xml" invoke="createPartyContent"/>
        <response name="success" type="request-redirect" value="EditPartyContents">
            <redirect-parameter name="partyId"></redirect-parameter>
        </response>
    </request-map>

    <request-map uri="updatePartyContent">
        <security auth="true" https="true"/>
        <event type="simple" path="component://party/minilang/party/PartySimpleEvents.xml" invoke="updatePartyContent"/>
        <response name="success" type="request-redirect" value="EditPartyContents">
            <redirect-parameter name="partyId"></redirect-parameter>
        </response>
    </request-map>

    <request-map uri="removePartyContent">
        <security auth="true" https="true"/>
        <event type="service" invoke="removePartyContent"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
        <response name="error" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
    </request-map>

    <request-map uri="uploadPartyContent">
        <security auth="true" https="true"/>
        <event type="service" invoke="uploadPartyContentFile"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
        <response name="error" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
    </request-map>

    <request-map uri="partyContentList">
        <security auth="true" https="true"/>
        <response name="success" type="view" value="partyContentList"/>
    </request-map>

    <request-map uri="img">
        <security auth="true" https="true"/>
        <event type="java" path="org.apache.ofbiz.content.data.DataEvents" invoke="serveImage"/>
        <response name="success" type="none"/>
        <response name="error" type="request" value="main"/>
    </request-map>

    <request-map uri="editCarrierAccount">
        <security auth="true" https="true"/>
        <response name="success" type="view" value="editCarrierAccount"/>
    </request-map>
    <request-map uri="createPartyCarrierAccount">
        <security auth="true" https="true"/>
        <event type="service" invoke="createPartyCarrierAccount"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
        <response name="error" type="view" value="editCarrierAccount"/>
    </request-map>
    <request-map uri="updatePartyCarrierAccount">
        <security auth="true" https="true"/>
        <event type="service" invoke="updatePartyCarrierAccount"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
        <response name="error" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
    </request-map>

    <request-map uri="EditPartySkills">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="EditPartySkills"/>
    </request-map>
    <request-map uri="createPartySkillExt">
        <security https="true" auth="true"/>
        <event type="service" invoke="createPartySkill"/>
        <response name="success" type="view" value="EditPartySkills"/>
        <response name="error" type="view" value="EditPartySkills"/>
    </request-map>
    <request-map uri="updatePartySkillExt">
        <security https="true" auth="true"/>
        <event type="service" invoke="updatePartySkill"/>
        <response name="success" type="view" value="EditPartySkills"/>
        <response name="error" type="view" value="EditPartySkills"/>
    </request-map>
    <request-map uri="deletePartySkill">
        <security https="true" auth="true"/>
        <event type="service" invoke="deletePartySkill"/>
        <response name="success" type="view" value="EditPartySkills"/>
    </request-map>
    <request-map uri="EditPartyResumes">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="EditPartyResumes"/>
    </request-map>
    <request-map uri="createPartyResume">
        <security https="true" auth="true"/>
        <event type="service" invoke="createPartyResume"/>
        <response name="success" type="view" value="EditPartyResumes"/>
    </request-map>
    <request-map uri="updatePartyResume">
        <security https="true" auth="true"/>
        <event type="service" invoke="updatePartyResume"/>
        <response name="success" type="view" value="EditPartyResumes"/>
    </request-map>
    <request-map uri="deletePartyResume">
        <security https="true" auth="true"/>
        <event type="service" invoke="deletePartyResume"/>
        <response name="success" type="view" value="EditPartyResumes"/>
    </request-map>
    <request-map uri="EditEmploymentApps">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="EditEmploymentApps"/>
    </request-map>
    <request-map uri="createEmploymentAppExt">
        <security https="true" auth="true"/>
        <event type="service" invoke="createEmploymentApp"/>
        <response name="success" type="request-redirect" value="EditEmploymentApps">
            <redirect-parameter name="partyId"/>
        </response>
    </request-map>
    <request-map uri="updateEmploymentAppExt">
        <security https="true" auth="true"/>
        <event type="service-multi" invoke="updateEmploymentApp"/>
        <response name="success" type="view" value="EditEmploymentApps"/>
    </request-map>
    <request-map uri="deleteEmploymentApp">
        <security https="true" auth="true"/>
        <event type="service" invoke="deleteEmploymentApp"/>
        <response name="success" type="request-redirect" value="EditEmploymentApps">
            <redirect-parameter name="partyId"/>
        </response>
    </request-map>

    <!-- Ajax Requests -->
    <request-map uri="ajaxUpdatePartyGroup">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="updatePartyGroup"/>
        <response name="success" type="request" value="json"/>
        <response name="error" type="request" value="json"/>
    </request-map>

    <!-- Billing Account requests -->
    <request-map uri="EditBillingAccount">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="EditBillingAccount"/>
    </request-map>
    <request-map uri="createBillingAccount">
        <security https="true" auth="true"/>
        <event type="service" invoke="createBillingAccount"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
        <response name="error" type="view" value="EditBillingAccount"/>
    </request-map>
    <request-map uri="updateBillingAccount">
        <security https="true" auth="true"/>
        <event type="service" invoke="updateBillingAccount"/>
        <response name="success" type="view" value="EditBillingAccount"/>
        <response name="error" type="view" value="EditBillingAccount"/>
    </request-map>
    <request-map uri="deleteBillingAccount">
        <security https="true" auth="true"/>
        <event type="simple" path="component://party/minilang/party/PartySimpleMethods.xml" invoke="deleteBillingAccount"/>
        <response name="success" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
            <redirect-parameter name="roleTypeId"/>
        </response>
        <response name="error" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
            <redirect-parameter name="roleTypeId"/>
        </response>
    </request-map>

    <!-- Order communication event requests -->
    <request-map uri="UpdateCommOrders">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="UpdateCommOrders"/>
    </request-map>
    <request-map uri="createCommunicationEventOrder">
        <security https="true" auth="true"/>
        <event type="service" invoke="createCommunicationEventOrder"/>
        <response name="success" type="view" value="UpdateCommOrders"/>
        <response name="error" type="view" value="UpdateCommOrders"/>
    </request-map>
    <request-map uri="deleteCommunicationEventOrder">
        <security https="true" auth="true"/>
        <event type="service" invoke="removeCommunicationEventOrder"/>
        <response name="success" type="view" value="UpdateCommOrders"/>
        <response name="error" type="view" value="UpdateCommOrders"/>
    </request-map>
    <request-map uri="UpdateCommReturns">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="UpdateCommReturns"/>
    </request-map>
    <request-map uri="createCommunicationEventReturn">
        <security https="true" auth="true"/>
        <event type="service" invoke="createCommunicationEventReturn"/>
        <response name="success" type="view" value="UpdateCommReturns"/>
        <response name="error" type="view" value="UpdateCommReturns"/>
    </request-map>
    <request-map uri="deleteCommunicationEventReturn">
        <security https="true" auth="true"/>
        <event type="service" invoke="removeCommunicationEventReturn"/>
        <response name="success" type="view" value="UpdateCommReturns"/>
        <response name="error" type="view" value="UpdateCommReturns"/>
    </request-map>

    <!-- Product communication event requests -->
    <request-map uri="UpdateCommProducts">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="UpdateCommProducts"/>
    </request-map>
    <request-map uri="createCommunicationEventProduct">
        <security https="true" auth="true"/>
        <event type="service" invoke="createCommunicationEventProduct"/>
        <response name="success" type="view" value="UpdateCommProducts"/>
        <response name="error" type="view" value="UpdateCommProducts"/>
    </request-map>
    <request-map uri="deleteCommunicationEventProduct">
        <security https="true" auth="true"/>
        <event type="service" invoke="removeCommunicationEventProduct"/>
        <response name="success" type="view" value="UpdateCommProducts"/>
        <response name="error" type="view" value="UpdateCommProducts"/>
    </request-map>
    <request-map uri="createBillingAccountAndRole">
        <security https="true" auth="true"/>
        <event type="service" invoke="createBillingAccountAndRole"/>
        <response name="success" type="view" value="EditBillingAccount"/>
        <response name="error" type="view" value="EditBillingAccount"/>
    </request-map>

    <!-- Lookup request mappings -->
    <request-map uri="LookupPartyName"><security https="true" auth="true"/><response name="success" type="view" value="LookupPartyName"/></request-map>
    <request-map uri="LookupPartyEmail"><security https="true" auth="true"/><response name="success" type="view" value="LookupPartyEmail"/></request-map>
    <request-map uri="LookupPerson"><security https="true" auth="true"/><response name="success" type="view" value="LookupPerson"/></request-map>
    <request-map uri="LookupContact"><security https="true" auth="true"/><response name="success" type="view" value="LookupContact"/></request-map>
    <request-map uri="LookupLead"><security https="true" auth="true"/><response name="success" type="view" value="LookupLead"/></request-map>
    <request-map uri="LookupPartyAndUserLoginAndPerson"><security https="true" auth="true"/><response name="success" type="view" value="LookupPartyAndUserLoginAndPerson"/></request-map>
    <request-map uri="LookupUserLoginAndPartyDetails"><security https="true" auth="true"/><response name="success" type="view" value="LookupUserLoginAndPartyDetails"/></request-map>
    <request-map uri="LookupPartyGroup"><security https="true" auth="true"/><response name="success" type="view" value="LookupPartyGroup"/></request-map>
    <request-map uri="LookupAccount"><security https="true" auth="true"/><response name="success" type="view" value="LookupAccount"/></request-map>
    <request-map uri="LookupPartyClassificationGroup"><security https="true" auth="true"/><response name="success" type="view" value="LookupPartyClassificationGroup"/></request-map>
    <request-map uri="LookupCommEvent"><security https="true" auth="true"/><response name="success" type="view" value="LookupCommEvent"/></request-map>
    <request-map uri="LookupCustRequest"><security https="true" auth="true"/><response name="success" type="view" value="LookupCustRequest"/></request-map>
    <request-map uri="LookupSegmentGroup"><security https="true" auth="true"/><response name="success" type="view" value="LookupSegmentGroup"/></request-map>
    <request-map uri="LookupContactList"><security https="true" auth="true"/><response name="success" type="view" value="LookupContactList"/></request-map>
    <request-map uri="LookupWorkEffort"><security https="true" auth="true"/><response name="success" type="view" value="LookupWorkEffort"/></request-map>
    <request-map uri="LookupContent"><security auth="true" https="true"/><response name="success" type="view" value="LookupContent"/></request-map>
    <request-map uri="LookupDataResource"><security auth="true" https="true"/><response name="success" type="view" value="LookupDataResource"/></request-map>
    <request-map uri="LookupPreferredContactMech"><security https="true" auth="true"/><response name="success" type="view" value="LookupPreferredContactMech"/></request-map>
    <request-map uri="LookupEmploymentApp"><security auth="true" https="true"/><response name="success" type="view" value="LookupEmploymentApp"/></request-map>
    <request-map uri="LookupEmplPosition"><security auth="true" https="true"/><response name="success" type="view" value="LookupEmplPosition"/></request-map>
    <request-map uri="LookupOrderHeader"><security auth="true" https="true"/><response name="success" type="view" value="LookupOrderHeader"/></request-map>
    <request-map uri="LookupReturnHeader"><security auth="true" https="true"/><response name="success" type="view" value="LookupReturnHeader"/></request-map>
    <request-map uri="LookupProduct"><security auth="true" https="true"/><response name="success" type="view" value="LookupProduct"/></request-map>
    <request-map uri="LookupBudget"><security auth="true" https="true"/><response name="success" type="view" value="LookupBudget"/></request-map>

    <!-- Financial History Report-->
    <request-map uri="PartyFinancialHistory">
         <security https="true" auth="true"/>
         <response name="success" type="view" value="PartyFinancialHistory"/>
        <response name="error" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
    </request-map>

    <!-- preferences -->
    <request-map uri="Preferences">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="Preferences"/>
    </request-map>
    <request-map uri="removePreference">
        <security https="true" auth="true"/>
        <event type="service" invoke="removeUserPreference"/>
        <response name="success" type="view" value="Preferences"/>
        <response name="error" type="view" value="Preferences"/>
    </request-map>

    <!-- GeoLocation-->
    <request-map uri="PartyGeoLocation">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="PartyGeoLocation"/>
        <response name="error" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
    </request-map>
    <request-map uri="GetPartyGeoLocation">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="GetPartyGeoLocation"/>
        <response name="error" type="request-redirect" value="viewprofile">
            <redirect-parameter name="partyId"/>
        </response>
    </request-map>
    <request-map uri="addGeoLocation">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="addGeoLocation"/>
        <response name="error" type="view" value="PartyGeoLocation"/>
    </request-map>
    <request-map uri="editGeoLocation">
        <security https="true" auth="true"/>
        <event type="simple" path="component://party/minilang/party/PartySimpleEvents.xml" invoke="editGeoLocation"/>
        <response name="success" type="view" value="PartyGeoLocation"/>
        <response name="error" type="view" value="PartyGeoLocation"/>
    </request-map>

    <!-- ProductStoreRole -->
    <request-map uri="ViewProductStoreRoles">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="ViewProductStoreRoles"/>
    </request-map>
    <request-map uri="FindProductStoreRoles">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="ViewProductStoreRoles"/>
    </request-map>
    <request-map uri="storeCreateRole">
        <security https="true" auth="true"/>
        <event type="service" invoke="createProductStoreRole"/>
        <response name="success" type="view" value="ViewProductStoreRoles"/>
        <response name="error" type="view" value="ViewProductStoreRoles"/>
    </request-map>
    <request-map uri="storeUpdateRole">
        <security https="true" auth="true"/>
        <event type="service" invoke="updateProductStoreRole"/>
        <response name="success" type="view" value="ViewProductStoreRoles"/>
        <response name="error" type="view" value="ViewProductStoreRoles"/>
    </request-map>
    <request-map uri="storeRemoveRole">
        <security https="true" auth="true"/>
        <event type="service" invoke="removeProductStoreRole"/>
        <response name="success" type="view" value="ViewProductStoreRoles"/>
        <response name="error" type="view" value="ViewProductStoreRoles"/>
    </request-map>

    <!--  external communication event; mark as read using 1px image request -->
    <request-map uri="ceimages" track-serverhit="false" track-visit="false">
        <security https="false" auth="true"/>
        <event type="java" path="org.apache.ofbiz.party.communication.CommunicationEventServices" invoke="markCommunicationAsRead"/>
        <response name="success" type="none"/>
    </request-map>

    <!-- Profile-specific security requests -->
    <request-map uri="ProfileCreateNewLogin">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="ProfileCreateNewLogin"/>
    </request-map>
    <request-map uri="ProfileCreateUserLogin">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="createUserLogin"/>
        <response name="success" type="view" value="ProfileEditUserLogin"/>
        <response name="error" type="view" value="ProfileCreateNewLogin"/>
    </request-map>
    <request-map uri="ProfileEditUserLogin">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="ProfileEditUserLogin"/>
    </request-map>
    <request-map uri="ProfileUpdatePassword">
        <security https="true" auth="true"/>
        <event type="simple" path="component://securityext/minilang/login/LoginSimpleEvents.xml" invoke="updatePassword"/>
        <response name="success" type="view" value="ProfileEditUserLogin"/>
        <response name="error" type="view" value="ProfileEditUserLogin"/>
    </request-map>
    <request-map uri="ProfileUpdateUserLoginSecurity">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="updateUserLoginSecurity"/>
        <response name="success" type="view" value="ProfileEditUserLogin"/>
        <response name="error" type="view" value="ProfileEditUserLogin"/>
    </request-map>
    <request-map uri="ProfileAddUserLoginToSecurityGroup">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="addUserLoginToSecurityGroup"/>
        <response name="success" type="view" value="ProfileEditUserLoginSecurityGroups"/>
        <response name="error" type="view" value="ProfileEditUserLoginSecurityGroups"/>
    </request-map>
    <request-map uri="ProfileExpireUserLoginFromSecurityGroup">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="expireUserLoginSecurityGroup"/>
        <response name="success" type="view" value="ProfileEditUserLoginSecurityGroups"/>
        <response name="error" type="view" value="ProfileEditUserLoginSecurityGroups"/>
    </request-map>
    <request-map uri="ProfileUpdateUserLoginToSecurityGroup">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="updateUserLoginToSecurityGroup"/>
        <response name="success" type="view" value="ProfileEditUserLoginSecurityGroups"/>
        <response name="error" type="view" value="ProfileEditUserLoginSecurityGroups"/>
    </request-map>
    <request-map uri="ProfileEditUserLoginSecurityGroups">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="ProfileEditUserLoginSecurityGroups"/>
    </request-map>

    <request-map uri="setCustRequestStatus">
        <security https="true" auth="true"/>
        <event type="service" invoke="setCustRequestStatus"/>
        <response name="success" type="view-home" value="FindRequest"/>
        <response name="error" type="view" value="EditRequest"/>
    </request-map>

    <!-- end of request mappings -->

    <!-- View Mappings -->
    <view-map name="main" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#findparty"/>

    <view-map name="findparty" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#findparty"/>

    <view-map name="viewprofile" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#viewprofile"/>
    <view-map name="partyContentList" type="screen" page="component://party/widget/partymgr/ProfileScreens.xml#ContentList"/>
    <view-map name="viewroles" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#viewroles"/>
    <view-map name="addsecondaryroles" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#AddPartySecondaryRoles"/>
    <view-map name="viewidentifications" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#ListPartyIdentifications"/>
    <view-map name="linkparty" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#linkparty"/>
    <view-map name="EditPartyRelationships" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#EditPartyRelationships"/>
    <view-map name="viewvendor" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#viewvendor"/>
    <view-map name="EditPartyTaxAuthInfos" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#EditPartyTaxAuthInfos"/>
    <view-map name="editShoppingList" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#editShoppingList"/>

    <!-- Party/Profile-specific security view maps -->
    <view-map name="LookupUserLogin" type="screen" page="component://party/widget/partymgr/LookupScreens.xml#LookupUserLoginAndPartyDetails"/>
    <view-map name="ProfileEditUserLogin" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#EditUserLogin"/>
    <view-map name="ProfileCreateNewLogin" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#CreateUserLogin"/>
    <view-map name="ProfileEditUserLoginSecurityGroups" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#EditUserLoginSecurityGroups"/>

    <view-map name="EditPerson" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#EditPerson"/>
    <view-map name="EditPartyGroup" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#EditPartyGroup"/>
    <view-map name="EditPartyAttribute" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#EditPartyAttribute"/>
    <view-map name="AddPartyNote" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#AddPartyNote"/>
    <view-map name="ViewSegmentRoles" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#ViewSegmentRoles"/>
    <view-map name="ListPartyContactLists" type="screen" page="component://party/widget/partymgr/PartyContactListScreens.xml#ListPartyContactLists"/>
    <view-map name="EditPartyRates" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#EditPartyRates"/>

    <view-map name="editcontactmech" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#editcontactmech"/>
    <view-map name="editcreditcard" type="screen" page="component://party/widget/partymgr/PaymentMethodScreens.xml#editcreditcard"/>
    <view-map name="editgiftcard" type="screen" page="component://party/widget/partymgr/PaymentMethodScreens.xml#editgiftcard"/>
    <view-map name="editeftaccount" type="screen" page="component://party/widget/partymgr/PaymentMethodScreens.xml#editeftaccount"/>
    <view-map name="editavsoverride" type="screen" page="component://party/widget/partymgr/PaymentMethodScreens.xml#editavsoverride"/>
    <view-map name="AddCheckAccount" type="screen" page="component://party/widget/partymgr/PaymentMethodScreens.xml#AddCheckAccount"/>

    <view-map name="ListCommContent" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#ListCommContent"/>
    <view-map name="PendingCommunications" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#PendingCommunications"/>
    <view-map name="ListPartyCommEvents" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#ListPartyCommEvents"/>
    <view-map name="ListUnknownPartyComms" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#ListUnknownPartyComms"/>
    <view-map name="FindCommunicationByOrder" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#FindCommunicationByOrder"/>
    <view-map name="FindCommunicationByReturn" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#FindCommunicationByReturn"/>
    <view-map name="MyCommunicationEvents" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#PartyCommunicationEvents"/>
    <view-map name="FindCommunicationEvents" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#FindCommunicationEvents"/>
    <view-map name="EditCommunicationEvent" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#EditCommunicationEvent"/>
    <view-map name="ViewCommunicationEvent" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#ViewCommunicationEvent"/>
    <view-map name="UpdateCommPurposes" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#UpdateCommPurposes"/>
    <view-map name="UpdateCommRoles" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#UpdateCommRoles"/>

    <!-- TODO
    <view-map name="ListCommCustRequests" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#ListCommCustRequests"/>
    -->

    <view-map name="ListCommWorkEfforts" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#ListCommWorkEfforts"/>
    <view-map name="AddCommEventWorkEffort" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#AddCommEventWorkEffort"/>
    <view-map name="EditCommEventWorkEffort" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#EditCommEventWorkEffort"/>
    <view-map name="AddCommContent" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#AddCommContent"/>
    <view-map name="EditCommContent" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#EditCommContent"/>
    <view-map name="EditRequestFromCommEvent" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#EditRequestFromCommEvent"/>
    <view-map name="ViewRequest" type="screen" page="component://order/widget/ordermgr/CustRequestScreens.xml#ViewRequest"/>
    <view-map name="EditRequest" type="screen" page="component://order/widget/ordermgr/CustRequestScreens.xml#EditRequest"/>

    <view-map name="NewCustomer" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#NewCustomer"/>
    <view-map name="NewProspect" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#NewProspect"/>
    <view-map name="NewEmployee" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#NewEmployee"/>

    <view-map name="EditPartyClassifications" type="screen" page="component://party/widget/partymgr/PartyClassificationScreens.xml#EditPartyClassifications"/>
    <view-map name="EditPartyClassificationGroupParties" type="screen" page="component://party/widget/partymgr/PartyClassificationScreens.xml#EditPartyClassificationGroupParties"/>
    <view-map name="FindPartyClassificationGroups" type="screen" page="component://party/widget/partymgr/PartyClassificationScreens.xml#FindPartyClassificationGroups"/>
    <view-map name="EditPartyClassificationGroup" type="screen" page="component://party/widget/partymgr/PartyClassificationScreens.xml#EditPartyClassificationGroup"/>

    <view-map name="findVisits" type="screen" page="component://party/widget/partymgr/VisitScreens.xml#FindVisits"/>
    <view-map name="visitdetail" type="screen" page="component://party/widget/partymgr/VisitScreens.xml#visitdetail"/>
    <view-map name="listLoggedInUsers" type="screen" page="component://party/widget/partymgr/VisitScreens.xml#ListLoggedInUsers"/>

    <view-map name="LookupBudget"  type="screen" page="component://humanres/widget/LookupScreens.xml#LookupBudget"/>
    <view-map name="LookupPartyName" type="screen" page="component://party/widget/partymgr/LookupScreens.xml#LookupPartyName"/>
    <view-map name="LookupPartyEmail" type="screen" page="component://party/widget/partymgr/LookupScreens.xml#LookupPartyEmail"/>
    <view-map name="LookupPartyClassificationGroup" type="screen" page="component://party/widget/partymgr/LookupScreens.xml#LookupPartyClassificationGroup"/>
    <view-map name="LookupPerson" type="screen" page="component://party/widget/partymgr/LookupScreens.xml#LookupPerson"/>
    <view-map name="LookupContact" type="screen" page="component://party/widget/partymgr/LookupScreens.xml#LookupContact"/>
    <view-map name="LookupLead" type="screen" page="component://party/widget/partymgr/LookupScreens.xml#LookupLead"/>
    <view-map name="LookupPartyAndUserLoginAndPerson" type="screen" page="component://party/widget/partymgr/LookupScreens.xml#LookupPartyAndUserLoginAndPerson"/>
    <view-map name="LookupUserLoginAndPartyDetails" type="screen" page="component://party/widget/partymgr/LookupScreens.xml#LookupUserLoginAndPartyDetails"/>
    <view-map name="LookupPartyGroup" type="screen" page="component://party/widget/partymgr/LookupScreens.xml#LookupPartyGroup"/>
    <view-map name="LookupAccount" type="screen" page="component://party/widget/partymgr/LookupScreens.xml#LookupAccount"/>
    <view-map name="LookupCommEvent" type="screen" page="component://party/widget/partymgr/LookupScreens.xml#LookupCommEvent"/>
    <view-map name="LookupWorkEffort" type="screen" page="component://workeffort/widget/LookupScreens.xml#LookupWorkEffort"/>
    <view-map name="LookupCustRequest" type="screen" page="component://order/widget/ordermgr/LookupScreens.xml#LookupCustRequest"/>
    <view-map name="LookupPreferredContactMech" type="screen" page="component://marketing/widget/ContactListScreens.xml#LookupPreferredContactMech"/>
    <view-map name="LookupContactList" type="screen" page="component://party/widget/partymgr/PartyContactListScreens.xml#ListLookupContactList"/>
    <view-map name="LookupContent" type="screen" page="component://content/widget/content/ContentScreens.xml#LookupContent"/>
    <view-map name="LookupDataResource" type="screen" page="component://content/widget/content/DataResourceScreens.xml#LookupDataResource"/>
    <view-map name="LookupEmploymentApp" type="screen" page="component://humanres/widget/LookupScreens.xml#LookupEmploymentApp"/>
    <view-map name="LookupEmplPosition"  type="screen" page="component://humanres/widget/LookupScreens.xml#LookupEmplPosition"/>

    <view-map name="LookupSegmentGroup" type="screen" page="component://marketing/widget/LookupScreens.xml#LookupSegmentGroup"/>
    <view-map name="LookupOrderHeader" type="screen" page="component://order/widget/ordermgr/LookupScreens.xml#LookupOrderHeader"/>
    <view-map name="LookupReturnHeader" type="screen" page="component://order/widget/ordermgr/LookupScreens.xml#LookupReturnHeader"/>
    <view-map name="LookupProduct" type="screen" page="component://product/widget/catalog/LookupScreens.xml#LookupProduct"/>

    <view-map name="ViewSimpleContent" page="" type="simplecontent"/>

    <view-map name="AddressMatchMap" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#AddressMatchMap"/>
    <view-map name="FindAddressMatch" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#FindAddressMatch"/>

    <view-map name="ImportExport" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#ImportExport"/>
    <view-map name="PartyExportCsv" type="screencsv" page="component://party/widget/partymgr/PartyScreens.xml#PartyExportCsv" content-type="text/csv" encoding="none"/>

    <view-map name="EditPartyContents" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#EditPartyContents"/>
    <view-map name="EditPartyContent" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#EditPartyContent"/>
    <view-map name="editCarrierAccount" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#editCarrierAccount"/>
    <view-map name="partyInvitation" type="screen" page="component://party/widget/partymgr/PartyInvitationScreens.xml#FindPartyInvitations"/>
    <view-map name="editPartyInvitation" type="screen" page="component://party/widget/partymgr/PartyInvitationScreens.xml#EditPartyInvitation"/>
    <view-map name="PartyInvitationGroupAssocs" type="screen" page="component://party/widget/partymgr/PartyInvitationScreens.xml#EditPartyInvitationsGroupAssocs"/>
    <view-map name="PartyInvitationRoleAssocs" type="screen" page="component://party/widget/partymgr/PartyInvitationScreens.xml#EditPartyInvitationsRoleAssocs"/>
    <view-map name="EditPartySkills" type="screen" page="component://humanres/widget/PartySkillScreens.xml#EditPartySkills"/>
    <view-map name="EditPartyResumes" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#EditPartyResumes"/>
    <view-map name="EditEmploymentApps" type="screen" page="component://humanres/widget/EmploymentAppScreens.xml#EditEmploymentApps"/>
    <view-map name="PartyFinancialHistory" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#PartyFinancialHistory"/>
    <view-map name="Preferences" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#Preferences"/>
    <view-map name="PartyGeoLocation" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#PartyGeoLocation"/>
    <view-map name="GetPartyGeoLocation" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#GetPartyGeoLocation"/>
    <view-map name="AddPartyRelatedAccount" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#CreatePartyRelatedAccount"/>
    <view-map name="AddAccountRelatedContact" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#CreateAccountRelatedContact"/>

    <view-map name="UpdateCommOrders" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#UpdateCommOrders"/>
    <view-map name="UpdateCommReturns" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#UpdateCommReturns"/>
    <view-map name="UpdateCommProducts" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#UpdateCommProducts"/>

    <view-map name="ViewProductStoreRoles" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#ViewProductStoreRoles"/>

    <!-- Billing Account-->
    <view-map name="EditBillingAccount" type="screen" page="component://party/widget/partymgr/PaymentMethodScreens.xml#EditBillingAccount"/>

    <!-- GeoLocation-->
    <view-map name="addGeoLocation" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#EditGeoLocation"/>

    <!-- end of view mappings -->
</site-conf>
