Forum Discussion

sreejithpm's avatar
6 years ago

How to pre-populate the values for the fields Subject & Body by passing the values via query string

Hi Team,

I wanted to provide a link and launch option to the community URL, where user can see the below page, from the application. 

The URL where I can post a message is <COMMUNITY_URL>/t5/forums/postpage/board-id/<GROUP_ID> 

I wanted to load this page with pre-populating some values for the fields "Subject" & "Body" which are highlighted in the above screenshot. how can I achieve it?

is there any way to pass the values through the query string, please let me know.

  • sreejithpm,

    You can get the subject value by passing the "?message-subject=titlevalue" in url parameter.

    There is no way to populate the body value.

     

     

  • sreejithpm,

    You can get the subject value by passing the "?message-subject=titlevalue" in url parameter.

    There is no way to populate the body value.

     

     

      • raguv12ps's avatar
        raguv12ps
        Ace

        I am new to community, how can we access the board from a url

        <COMMUNITY_URL>/t5/forums/postpage/board-id/<GROUP_ID> 

        We have an exact page like the one posted in the discussion thread and I am not able to find it