BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
arthurdpereira
Obsidian | Level 7

Yeap, it shows it this way:

 

Error-Form-SAS-03.png

SAS Job Execution Developer
I love sharing knowledge and helping the community.

Follow me:
GitHub | LinkedIn
DeMer
Obsidian | Level 7

Looks like the content type is application/octet-stream.  Need it to be text/css.

If you haven't already, I think you need to reload your file using SAS Drive to get it set correctly.

arthurdpereira
Obsidian | Level 7

DeMer, thanks for your help. You gave me more determination to keep insisting. And I did it.

I still don't know why, but the problem occurs that the .css file needs to have the <style></style> tag in the file. Example:

 

 

<style>
	body {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		height: 100vh;
		background-color: #181c35;
		font-family: Arial, sans-serif;
	}
	/* Your CSS styles */
</style>

This way, the link created from the SASDrive URI recognizes as CSS:

 

 

 

<link href="/files/files/########/content" type="text/css" rel="stylesheet">

Thanks guys for all the support!

 

SAS Job Execution Developer
I love sharing knowledge and helping the community.

Follow me:
GitHub | LinkedIn
ChrisNZ
Tourmaline | Level 20

The <style> tags being required is very odd, and maybe not as expected really, but good on you on insisting and finding a solution.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 18 replies
  • 5566 views
  • 2 likes
  • 4 in conversation