Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6470953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:10:09+00:00 2026-05-25T06:10:09+00:00

I need to simply display a url that’s created by some javascript in the

  • 0

I need to simply display a url that’s created by some javascript in the forms onload event. I never actually save it to the attribute. Is there a way I can cut out the attribute and just have a blank field in my form that I can write a string too?

Typically I would do something like this:

        var cm_name = new xrm5.Metadata.StringAttributeMetadata()
        {
            Description = CrmHelpers.CreateLocalizedLabel("landingpage_name_description", cultures),
            DisplayName = CrmHelpers.CreateLocalizedLabel("landingpage_name_displayname", cultures),
            Format = xrm5.Metadata.StringFormat.Text,
            IsValidForAdvancedFind = new xrm5.BooleanManagedProperty(true),
            MaxLength = 250,
            RequiredLevel = new xrm5.Metadata.AttributeRequiredLevelManagedProperty(xrm5.Metadata.AttributeRequiredLevel.ApplicationRequired),
            SchemaName = "cm_name"
        };
        cm_name.SetPrivatePropertyValue<bool>("IsPrimaryName", true);
        entityDefinition.Attributes.Add(cm_name);

and

            leftCell = Version4FormGenerator.CreateFormCell(formXmlDom, true, 0, 1, 1, "landingpage_name_displayname", cultures, "cm_name", CLASSID_TEXT_BOX, "cm_name", false, null);

for version 4 and

            leftCell = Version5FormGenerator.CreateFormCell(formXmlDom, true, 0, 1, 1, "landingpage_name_displayname", cultures, "cm_name", CLASSID_TEXT_BOX, "cm_name", false, false, null, new Guid("392b0a44-9c6e-4dba-a5a3-099e1a4b79bf"));

for 2011.

I want to cut the first part out and only have the last two. Is that even possible? This needs to work for both 2011 and ver 4.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:10:10+00:00Added an answer on May 25, 2026 at 6:10 am

    Easiest way I think would be to add an IFrame to the form with a custom HTML page, then write the value to that. In 2011 it’s easier with web resources, but in 4.0 you could host it in the ISV folder.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to build a content gathering program that will simply read numbers on
I'm trying to simply save a file. However, I need a filename entered without
Never worked with Sharepoint, but need to add a WebPart to display a PDF
I need to be able to display html files that are stored locally on
I'm developing a simple web application where in I need to display number a
I simply need to add floatArray1 to floatArray2 storing the result in floatArray2.. no
I need to simply go through all the cells in a Excel Spreadsheet and
I need to simply provide the content of a property to a custom User
Simply I need to write echo t${count} = $t${count} To a text file, including
If you need to open a SqlConnection before issuing queries, can you simply handle

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.