web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Automatically create and populate SharePoint URLs in CRM

(0) ShareShare
ReportReport
Posted on by 635

I have a very specific SharePoint structure.  I do the initial setup on all user's MySite's so I can add a couple of business required folders/libraries and groups.  One of the functions is an email-enabled (i.e. usernamescans@sp.domain.com) library for attachments from our scanner called Scans (i.e. https://my.domain.com:443/me/username/scans).  I want to put the following things in the header on the user form and various other forms throughout the environment:

Shared Documents (URL): https://my.domain.com:443/me/username/shared%20documents

Scans Folder (URL): https://my.domain.com:443/me/username/scans

Scans Email (email): usernamescans@sp.domain.com

I'd like CRM to automatically take the user's username and generate these entries upon user creation.  SharePoint will always be the same, so it's just up to me to get CRM to do the work.

Does anyone have any ideas?  I'm open to nearly any solution.

Thanks,

Benjamin Rutledge

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Gus Gonzalez Profile Picture
    27,113 on at

    You can populate this with a workflow upon user creation...just use a combination of text and dynamics field to populate the information.

  • Benjamin Rutledge Profile Picture
    635 on at

    Gus,

    That totally makes sense, but I don't seem to get the option to set any values in the Header, only in the form body.

    Thoughts?

    Thanks,

    Benjamin

  • Verified answer
    Gus Gonzalez Profile Picture
    27,113 on at

    The fields on the header are just showing information recorded on the fields on the form...so record the information on the fields on the form and the information will show up on the fields on the header.

  • Benjamin Rutledge Profile Picture
    635 on at

    You're right.  They were just easy to overlook the fields in the form because I didn't put them there.

    One final solution and I think this will do: how do I get the User Name(User) value to be just the username not the DOMAIN\username for the variable?

  • Verified answer
    Gus Gonzalez Profile Picture
    27,113 on at

    You would have to select a field from the user entity, like "last name" or a combination of "firstname.lastname" or "First Initial+Last Name", I am not sure how your domain names are created.

  • Benjamin Rutledge Profile Picture
    635 on at

    Because my domain users are almost exclusively firstinitiallastname, I ended up just adding a new business required field to the User form in which I now type the username sans domain name as a text string.  I then use that variable in the workflow.  I also had to take the fields out of the header to make the hyperlinks clickable.  Thanks for the guidance.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans