You need to sign in to do that
Don't have an account?
DiM
Billing City :
Billing State/Province :
Billing Zip/Postal Code :
partner portal
Hello,
We have are in the beginning stages of working on the partner portal for our outside sales reps. I have added an account tab and to the portal, which is pulling the accounts and displying the list properly. The edit view of each individual account is also displaying properly, however when I view the account when it is not in edit (read-only), it is not displaying the Billing Address and shipping address properly.
Address Information | |||
Billing Street : | 123 Main Street |
Seattle, |
WA |
96032 |
Billing Country :
Shipping Street : |
Has anyone else had this problem? Any help would be appreciated.
Thanks
Answer:
You have to update the sObjectDetail.jsp file located in \WEB-INF\src\web\jsp that has generic street, city, state, zip and country code to include billing and shipping code.
<%-- Existing Code --%>
<c:when test="${comp.value == 'Street'}" >Address:</td><td class="dataField" colspan=<c:out value="${intCols}" />><pp:textareaDisplay><c:out value="${map[field.name]}" /></pp:textareaDisplay></c:when>
<c:when test="${comp.value == 'City'}" ><br><c:out value="${map[field.name]}" /></c:when>
<c:when test="${comp.value == 'State'}" > <c:out value="${map[field.name]}" /></c:when>
<c:when test="${comp.value == 'PostalCode'}" > <c:out value="${map[field.name]}" /></c:when>
<c:when test="${comp.value == 'Country'}" ><br><c:out value="${map[field.name]}" /></td></c:when>
<%-- New Code --%>
<c:when test="${comp.value == 'FirstName'}" > <c:out value="${map[field.name]}" /></c:when>
<c:when test="${comp.value == 'LastName'}" > <c:out value="${map[field.name]}" /></td></c:when>
<c:when test="${comp.value == 'BillingStreet'}" >Billing Address:</td><td class="dataField" colspan=<c:out value="${intCols}" />><pp:textareaDisplay><c:out value="${map[field.name]}" /></pp:textareaDisplay></c:when>
<c:when test="${comp.value == 'BillingCity'}" ><br><c:out value="${map[field.name]}" /></c:when>
<c:when test="${comp.value == 'BillingState'}" > <c:out value="${map[field.name]}" /></c:when>
<c:when test="${comp.value == 'BillingPostalCode'}" > <c:out value="${map[field.name]}" /></c:when>
<c:when test="${comp.value == 'BillingCountry'}" ><br><c:out value="${map[field.name]}" /></td></c:when>
<c:when test="${comp.value == 'ShippingStreet'}" >Shipping Address:</td><td class="dataField" colspan=<c:out value="${intCols}" />><pp:textareaDisplay><c:out value="${map[field.name]}" /></pp:textareaDisplay></c:when>
<c:when test="${comp.value == 'ShippingCity'}" ><br><c:out value="${map[field.name]}" /></c:when>
<c:when test="${comp.value == 'ShippingState'}" > <c:out value="${map[field.name]}" /></c:when>
<c:when test="${comp.value == 'ShippingPostalCode'}" > <c:out value="${map[field.name]}" /></c:when>
<c:when test="${comp.value == 'ShippingCountry'}" ><br><c:out value="${map[field.name]}" /></td></c:when>