[QGIS-Developer] Custom functions does not automatically load

Johannes Kröger (WhereGroup) johannes.kroeger at wheregroup.com
Tue Apr 11 00:10:33 PDT 2023


Hi Catania,

please see the checklist of 
https://github.com/qgis/QGIS/blob/master/.github/ISSUE_TEMPLATE/10_bug_report.yml 
on what info is useful in a bug report. Did you try it in a new profile?

Cheers, Hannes

Am 11.04.23 um 02:37 schrieb Catania, Luke A ERDC-RDE-GRL-VA CIV via 
QGIS-Developer:
> I wrote a custom function that accesses the area of the feature and adjusts the label accordingly.   After I clicked on Save and Load Function I see my functions category and the functions and can use them in the expression tab, but when I close QGIS and start it again, the function is not automatically loaded.  I have to go to the layer properties and open the expression assigned in the label properties and click Save and Load Function and select apply/ok.  This is not gonna work for me since I need this to work automatically so when I create an installer for my software this function works for everyone.
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 
Johannes Kröger / GIS-Entwickler/-Berater

---------------------------------------------
Aufwind durch Wissen!
Web-Seminare und Online-Schulungen
bei der www.foss-academy.com
---------------------------------------------

WhereGroup GmbH
c/o KK03 GmbH
Lange Reihe 29
20099 Hamburg
Germany

Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11

johannes.kroeger at wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
-------------------------------



More information about the QGIS-Developer mailing list