3

I need to create a dynamic link in the SharePoint list. I have tried with calculated columns. enter image description here

But it is rendering as

enter image description here

is there any workaround for this?

2

Try JSLink using this code:

var ccContext = {
  Templates: {
    Fields: {
      "Calculated": {"View": "<#=STSHtmlDecode(ctx.CurrentItem.Calculated)#>"}
    }
  }
};
SPClientTemplates.TemplateManager.RegisterTemplateOverrides(ccContext);

Source an full explanation here: HTML Calculated Column + Client-Side Rendering

0

Just select The data type returned from this formula is: Date and Time

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.