domingo, 15 de septiembre de 2013

CRM 4.0 - Editar el sitemap para incluir un dashboard


Editar el SiteMap para incluir un DashBoard


<SubArea Id="nav_dashboard" PassParams="1"
         Url="/isv/dashboard/dashboard.aspx" >
 <Titles>
  <Title LCID="1033" Title="Dashboard" />
 </Titles>
</SubArea>

El LCID cambiara de acuerdo al idima instalado!



Privilegios sobre un DashBoard


So, following our example from above the following could be inside the SiteMap:ç
Multiple privileges may be used as well.
<SubArea Id="new_location " Entity="new_location">
<Privilege Entity="new_location" Privilege="Write" />
</SubArea>

Here are the possible values from the SDK:

All
AllowQuickCampaign
Append
AppendTo
Assign
Create
Delete
Read
Share
Write

Here's an example with multiple privileges:

<SubArea Id="new_location " Entity="new_location">
<Privilege Entity="new_location" Privilege="Read,Write,Share" />
</SubArea>

And finally, get creative. Just because the area is for an entity doesn't mean that the privilege
has to be for the same entity.
Perhaps the Location entity should only show up to users who have rights to write
to the Knowledge Base. The following would be completely legit as well:

<SubArea Id="new_location " Entity="new_location">
<Privilege Entity="kbarticle" Privilege="Read,Write" />
</SubArea>

No hay comentarios:

Publicar un comentario