• Login
  • Register

DNN Forums

A community discussion page. We're starting from scratch, so...let's get the party started!

dnnjsinclude gives script src integrity check

You are not authorized to post a reply.
Sort:
Page 2 of 2 << < 12


Basic Member


Posts:81
Basic Member

    Hmm, interesting, I did not know about this. Is that supported as a SPA token too ?


    Basic Member


    Posts:45
    Basic Member

      Nope, the SPA token only supports six properties https://github.com/dnnsoftware/Dnn.Platform/blob/83ee0001477f570e65b3883300199a81288769b8/DNN%20Platform/Library/Services/Tokens/PropertyAccess/JavaScriptPropertyAccess.cs
      DNN partner specializing in custom, enterprise DNN development https://engagesoftware.com/showcase


      Basic Member


      Posts:81
      Basic Member

        Thanks for the link, I was wondering what code the tokens fired :)


        Basic Member


        Posts:81
        Basic Member

          Am I correct in assuming a module could extend this to use custom tokens by implementing IPropertyAccess or something like that ?


          Basic Member


          Posts:45
          Basic Member

            SPA modules have an extension mechanism, but typically the TokenReplace type will have a hard-coded list of IPropertyAccess implementations, see e.g. HtmlTokenReplace (which is the base class for the SPA module token replace, but also used for the HTML module).

            For a SPA module, the module's business controller class can implement ICustomTokenProvider (here's where that's found and called).

            DNN partner specializing in custom, enterprise DNN development https://engagesoftware.com/showcase
            You are not authorized to post a reply.
            Page 2 of 2 << < 12

            These Forums are dedicated to discussion of DNN Platform.

            For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

            1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
            2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
            3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
            4. No Flaming or Trolling.
            5. No Profanity, Racism, or Prejudice.
            6. Site Moderators have the final word on approving / removing a thread or post or comment.
            7. English language posting only, please.

            Would you like to help us?

            Awesome! Simply post in the forums using the link below and we'll get you started.

            Get Involved