Zum Hauptinhalt wechseln

APEX Static Resources on CDN

Get IMAGE_PREFIX parameter:

declare
        l_val varchar2(4000);
    begin
        l_val := apex_instance_admin.get_parameter('IMAGE_PREFIX');
        dbms_output.put_line('The image prefix is: ' || l_val);
    end;

Set IMAGE_PREFIX parameter to CDN - for overview of path look at this oracle blog post.

begin
    	--CDN
    	apex_instance_admin.set_parameter(p_parameter => 'IMAGE_PREFIX', p_value => 'https://static.oracle.com/cdn/apex/22.2.0/' );
    	--STATIC for ORDS
    	--apex_instance_admin.set_parameter(p_parameter => 'IMAGE_PREFIX', p_value => '/i/22.2.0/' ); 
    	
        commit;   
    end;

Overview of Available Parameter Values (APEX 22.2)

 

Kommentare

Noch keine Kommentare zu diesem Beitrag.