https://discord.umbraco.com
Join Discord
Headless preview in Core
a

Andrew McKaskill

10 months ago
I've been trying to get preview with NextJS working over the last day, and while I have seen Kenn's lovely post about how to get the NextJS side working, I can't for the life of me find anything about how to turn the "Save and Preview" button into something I can use that automatically opens the site and triggers the NextJS preview api. I tried searching for "preview" in the docs but it only produces the article about using ContentSendingNotification, which doesn't work in 14/15 anyway. Am I missing something or are we missing documentation somewhere? (In which case sounds like I need to write it up as a blog post once I've got it working 😁 )
a
s
+3
  • 5
  • 11
  • 188
[SOLVED] Implementing forgot password in login screen in v13
b

Bishal Tim

over 1 year ago
i want to implement a forget password feature in umbraco login screen.im thinking i need to setup a middleware? but dont know where to start https://cdn.discordapp.com/attachments/1260274650613813299/1260275557162156082/Screenshot_2024-07-09_222311.png?ex=668eba93&is=668d6913&hm=6ab838ca4ce55ed590dfb0106c599848e1a69313e9015213a4f22180f05614d1&
b
m
+6
  • 8
  • 49
  • 187
How do i authenticate to the Content Delivery API with Swagger or Postman
n

Navorski

over 1 year ago
Can someone help me on my way? I created an API, an UmbracoApiController, with the [UmbracoMemberAuthorize] attribute. I Configured swagger to be able to authorize Everything seems to be in place and to work. But how do i authenticate with Swagger, or with Postman, or whatever? when i go to https://localhost/umbraco/swagger, i can see the swagger api, and when i want to authenticate, i have to fill in a client_id and a client_secret. But i have no idea where to get those? https://cdn.discordapp.com/attachments/1242595241077375058/1242595241219850310/image.png?ex=664e687f&is=664d16ff&hm=725f3c4adc068b9f71b6a1a0688cf566f11aabbd9de24c86de6bb9a52b3f319d&
n
d
+2
  • 4
  • 8
  • 187
Not sure how to use umb-table
m

mz10ah

almost 2 years ago
Hi, I am wondering how to get the select all box working as by default, its marked and I can't even get it unchecked. Also the sorting/unsorting isn't working either. Now I am sure I need more code than what I have copied from the API doc but if anyone could guide me a bit here, that would be appreciated. Here is my code:
html
<umb-table
                  ng-if="vm.items"
                  items="vm.items"
                  item-properties="vm.options.includeProperties"
                  allow-select-all="vm.allowSelectAll"
                  on-select="vm.onSelect"
                  on-click="vm.onClick"
                  on-select-all="vm.selectAll"
                  on-selected-all="vm.onSelectedAll"
                  on-sorting-direction="vm.onSortDirection"
                  on-sort="vm.onSort"
               >
               </umb-table>
js
vm.onSelect = onSelect;
      vm.onClick = onClick;
      vm.selectAll = selectAll;
      vm.onSelectedAll = onSelectedAll;
      vm.onSortDirection = onSortDirection;
      vm.allowSelectAll = true;
      vm.onSort = onSort;

      function selectAll($event) {
         alert('select all');
      }

      function onSelectedAll() {
         return true;
      }

      function onClick(item) {
         console.log('clicked', item);
         alert('click node');
      }

      function onSelect(selectedItem, $index, $event) {
         alert('select node');
      }

      function onSortDirection(col, direction) {}

      function onSort(field, allow, isSystem) {}
https://cdn.discordapp.com/attachments/1194969651894026330/1194969652032454696/0.png?ex=65b24936&is=659fd436&hm=94008e1a22d39aaa6f174c0e44d1e42cb625daacaafafae0e336b475fc233165&
m
j
  • 2
  • 8
  • 185
[Solved] PDF Generator
c

Craig100

over 1 year ago
Is there a decent PDF generator for Umbraco that works with V13? I've tried the WebWonders one but it won't install and looks like it hasn't been updated in a long while.
c
d
+5
  • 7
  • 83
  • 184
TailwindCSS Block Grid views
d

David Peck (Peck Tech)

over 1 year ago
To be totally honest, I'm hoping someone more cleverest than me has already created views to render the Block Grid using Tailwind classes, and is also generous enough to share them? We had a go and have found it really hard. I can offer lots of positive energy in return. πŸ€—
d
p
d
  • 3
  • 9
  • 182
How to Opt-Out Serilog and Use Azure Monitor OpenTelemetry instead?
k

Khattab

8 months ago
I want to see Umbraco application's logs in Application Insights. I'm using the following packages: Azure.Monitor.OpenTelemetry.AspNetCore Serilog.Sinks.OpenTelemetry
builder.Services.AddOpenTelemetry().UseAzureMonitor()
The issue is with the app inights Serilog Sink I am loosing a lot of telemetry and I have my whole setup built arounf OTEL standards and OTEL exporters, which Azure monitor provides, and with Serilog I think it kills all exporters, On my custom dotnet application I used Serilog flag
writeToProviders
so I'd have both logger in action, but for Umbraco I do not know what is the best way to do so
services.AddSerilog((loggerConfiguration) =>
 {
     loggerConfiguration.MinimalConfiguration(configuration)
                        .ReadFrom.Configuration(configuration);
 }, writeToProviders: true);
k
  • 1
  • 1
  • 181
Get ID's of all published pages?
b

Bodie

over 1 year ago
In Umbraco 13, is there an way, (possibly via the Content API?) to get a list of all published nodes? For example (1003,1008,1018,1019) etc.
b
s
c
  • 3
  • 7
  • 181
How do i use a custom model in an Umbraco page?
t

TigerMan

almost 2 years ago
I have an Umbraco Document Type and a template with the same name. I create a page in Umbraco and can view the page with the details entered. On this page i now would like to build a form so it can be submitted. As soon as i declare the model in the top of my cshtml file, i get an error about the ViewData (ViewDataDictionary) is of type X but this method requires Y. How am i supposed to set this up so both the content from Umbraco work and my custom form would work?
t
a
s
  • 3
  • 2
  • 181
Session variables in server side- Umbraco 12
r

Ramya Devendiran

almost 2 years ago
I am working on COMPARE function in a product listing page. I created a UmbracoAPIController to maintain the session variables. I do a AJAXCALL to set, get and delete session variables. It is working fine in localhost. But it is not working in live website. Is my solution to use UmbracoAPIController correct? If not , please suggest an alternative solution.
r
r
+2
  • 4
  • 5
  • 180
Previous121314Next

Umbraco

A hub and casual space for you to interact with fellow community members and learn more about Umbraco!

Powered by